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

2012-11-01 Thread Manish Gupta
HI, I need to parse an xml where key name are same but values are different. root test Some dummy text /test node id=1one/node node id=2two/node node id=3three/node /root When i use xmlGetAttr() function i always get one as value. How can i get one ,

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

2012-11-01 Thread Mikko Korpela
On 01.11.2012 06:29, Manish Gupta wrote: HI, I need to parse an xml where key name are same but values are different. root test Some dummy text /test node id=1one/node node id=2two/node node id=3three/node /root When i use xmlGetAttr()

[R] How to parse XML

2008-05-02 Thread Bos, Roger
I would like to learn how to parse a mixed text/xml document I downloaded from the sec.gov website (see example below). I would like to parse this to get the value for each xml tag and then access it within R, but I don't know much about xml so I don't even know where to start debugging the

Re: [R] How to parse XML

2008-05-02 Thread Martin Morgan
Hi Roger -- Bos, Roger [EMAIL PROTECTED] writes: I would like to learn how to parse a mixed text/xml document I downloaded from the sec.gov website (see example below). I would like I'm not sure of a more robust way to extract the XML, but from inspection I wrote ftp -

Re: [R] How to parse XML

2008-05-02 Thread Bos, Roger
, Roger Cc: r-help@r-project.org Subject: Re: [R] How to parse XML Hi Roger -- Bos, Roger [EMAIL PROTECTED] writes: I would like to learn how to parse a mixed text/xml document I downloaded from the sec.gov website (see example below). I would like I'm not sure of a more robust way