[R] newbee to XML library

John Zhang jzhang at jimmy.harvard.edu
Tue Apr 2 15:23:09 CEST 2002


>X-Sender: wolski at harry.molgen.mpg.de
>Date: Tue, 02 Apr 2002 15:16:44 +0100
>To: R- Mailing List <r-help at stat.math.ethz.ch>
>From: witold eryk wolski <wolski at molgen.mpg.de>
>Subject: [R] newbee to XML library
>Mime-Version: 1.0
>
>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.

Have a look at the function GOXMLParser.R in package AnnBuilder at 
www.bioconductor.org.

>
>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
>_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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