[R] How to parse xml with same key name ?

Manish Gupta mandecent.gupta at gmail.com
Thu Nov 1 05:29:58 CET 2012


HI, 

I need to parse an xml where key name are same but values are different. 

<root>
     <test>
                 Some dummy text
     </test>
     <node id="1">one</node>
     <node id="2">two</node>
     <node id="3">three</node>
</root>

When i use xmlGetAttr() function i always get one as value.  How can i get
one , two and three? Pls help me out of this pblm . 



--
View this message in context: http://r.789695.n4.nabble.com/How-to-parse-xml-with-same-key-name-tp4648097.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list