search for: xmltext3

Displaying 1 result from an estimated 1 matches for "xmltext3".

Did you mean: xmltext
2012 Sep 04
0
get only little part of html with htmlParse
...174.htm downloaded on my computer. 2.url options(encoding="gbk") library(XML) xmltext2 <- htmlParse("http://www.jb51.net/article/27174.htm" ) 3.readLines options(encoding="gbk") library(XML) txt=readLines("http://www.jb51.net/article/27174.htm") xmltext3 <- htmlParse(txt,asText=TRUE) method1,and method2 are ok,they can get right content to be parsed. when i run method 3 ,to my surprise ,xmltext3 can get some contents,but many are gone,they are not the same as method1,and method2,why? you can get only little part of html. > xmltext3 &...