xmlReadData_vector.Rd
Read XML Data From Type 'xmlReadData_vector' as R Vector
xmlReadData_vector(xmlItem)
xmlItem | ( |
---|
(vector
)
data <- '<testvector type="numeric"><element>1</element><element>2</element></testvector>' item <- XML::xmlRoot(XML::xmlParse(data,asText=TRUE)) value <- RTest::xmlReadData_vector(item) print("2 shall be the outcome")#> [1] "2 shall be the outcome"#> [1] 2