- library(XML)
- url<- "http://www.wandoujia.com/category/app"
- html<-htmlParse(url,encoding="UTF-8")
- zz<- xpathSApply(html,"//li[@class='parent-cate']")
请问如何将zz中的href取出来?
以及如何将zz[[1]]变为字符型?
|
楼主: 万人往LVR
|
1208
0
[问答] XML包 请问如何取得href,以及如何将 'XMLInternalElementNode' 转化为字符型 |
加好友,备注cda京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


