Displaying 1 result from an estimated 1 matches for "filteredclass".
Did you mean:
filterclass
2017 Jul 10
0
Extract XMLAtrributeValue
...'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){
print(x)
}
filteredclasses <-
function(){
classes <- xpathSApply(doc = posts, path = "/*/Posts/Post/@class", extract)
}
Thanks,
Mohan
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the i...