[R] newbee to XML library

witold eryk wolski wolski at molgen.mpg.de
Tue Apr 2 16:16:44 CEST 2002


Hi!
I wanted to read out from an xml document values of some tags using the xml 
library in R.
Has anyone out ther a example that is doing something like:
take a xml file and return all values of the set of elements named eg 
myvalue as an array.

The document that i have to parse looks like:

<open>
	<firstchild>
		<secondchild>
			<myvalue>0.44</myvalue>
		</secondchild>
		<secondchild>
			<myvalue>0.55</myvalue>
		</secondchild>
	</firstchild>
</open>

Eryk.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list