Skip to contents

Define use identification numbers in an SRPPP read in from an XML file

Usage

srppp_xml_define_use_numbers(srppp_xml = srppp_xml_get())

Arguments

srppp_xml

An object as returned by srppp_xml_get

Value

An object of the same class, with 'use_nr' added as an attribute of 'Indication' nodes.

Examples

# \donttest{
srppp_xml_define_use_numbers()
#> {xml_document}
#> <PublicationData>
#>  [1] <Products numberOfProducts="1694">\n  <Product id="7702" wNbr="6431" nam ...
#>  [2] <Parallelimports numberOfParallelimports="729">\n  <Parallelimport id="F ...
#>  [3] <MetaData name="ApplicationArea" numberOfRows="10">\n  <Detail primaryKe ...
#>  [4] <MetaData name="ApplicationComment" numberOfRows="766">\n  <Detail prima ...
#>  [5] <MetaData name="CultureForm" numberOfRows="2">\n  <Detail primaryKey="64 ...
#>  [6] <MetaData name="Culture" numberOfRows="322">\n  <Detail primaryKey="1139 ...
#>  [7] <MetaData name="FormulationCode" numberOfRows="43">\n  <Detail primaryKe ...
#>  [8] <MetaData name="Measure" numberOfRows="99">\n  <Detail primaryKey="6571" ...
#>  [9] <MetaData name="Obligation" numberOfRows="1431">\n  <Detail primaryKey=" ...
#> [10] <MetaData name="Pest" numberOfRows="524">\n  <Detail primaryKey="11956"> ...
#> [11] <MetaData name="ProductCategory" numberOfRows="26">\n  <Detail primaryKe ...
#> [12] <MetaData name="TimeMeasure" numberOfRows="2">\n  <Detail primaryKey="73 ...
#> [13] <MetaData name="Substance" numberOfRows="447">\n  <Detail primaryKey="3" ...
#> [14] <MetaData name="PermissionHolder" numberOfRows="220">\n  <PermissionHold ...
#> [15] <MetaData name="City" numberOfRows="187">\n  <Detail primaryKey="3285">\ ...
#> [16] <MetaData name="Country" numberOfRows="20">\n  <Detail primaryKey="6161" ...
#> [17] <MetaData name="CodeR" numberOfRows="58">\n  <Detail primaryKey="12045"> ...
#> [18] <MetaData name="CodeS" numberOfRows="32">\n  <Detail primaryKey="6039">\ ...
#> [19] <MetaData name="DangerSymbol" numberOfRows="8">\n  <Detail primaryKey="8 ...
#> [20] <MetaData name="SignalWords" numberOfRows="2">\n  <Detail primaryKey="79 ...
#> ...
# }