[R] Remove superscripts from HTML objects
Chris Stubben
stubben at lanl.gov
Fri Apr 13 18:39:01 CEST 2012
Sorry if I was not clear. I wanted to remove the superscripts using xpath
queries if possible. For example this will get p nodes with superscripts,
but how do I remove the superscripts if there are many matching nodes and
different superscripts?
xpathSApply(doc, "//p[sup]", xmlValue)
[1] "Cata"
Chris
--
View this message in context: http://r.789695.n4.nabble.com/Remove-superscripts-from-HTML-objects-tp4550738p4555370.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list