I'm wanting to parse the html to pull out specific pieces using xpathSApply but the xmlRoot call returns an element whose name is the text of the entire document:
> url <- "http://www.achaea.com/game/who"
> doc <- htmlParse(url)
> top <- xmlRoot(doc)
> xmlName(top)
Which displays the entire HTML document for the 'name' rather than a root element name. Can someone tell me what is the cause of this behavior? I want to be able to pull out the individual names in the 'honors' hrefs.