Displaying 1 result from an estimated 1 matches for "xmlatrributevalu".
Did you mean:
xmlatrributevalue
2017 Jul 10
0
Extract XMLAtrributeValue
Hi,
I am trying to extract an attribute value which is like this.
(e.g) class="whQuestion"
The 'extract' function prints this. But I am not sure how to get "whQuestion" from that. The type of 'x' in extract
is "character"
[1] "XMLAttributeValue"
class
"whQuestion"
attr(,"class")
extract <- function(x){