[R] read xml

2010-04-16 Thread Alex Campos
Hi I am trying to read selected fields from a xml file with R using xml package. So far I have learned the basics of this package by going through the manual, examples, tutorial, and so on (www.omegahat.org/RSXML) . The problem is that I am getting stuck when it comes down to more complex

[R] read XML

2008-07-30 Thread Paulo Cardoso
I have a xml exported by Manifold GIS but I'm not being able to import it into R using XLM package. The file have this structure: ?xml version=1.0 encoding=UTF-8 ? - layout nameLayout 2/name pagesByX1/pagesByX pagesByY1/pagesByY - elements legend refParent=r3

Re: [R] read XML

2008-07-30 Thread Martin Morgan
Paulo Cardoso [EMAIL PROTECTED] writes: I have a xml exported by Manifold GIS but I'm not being able to import it into R using XLM package. I can library(XML) xml - xmlTreeParse(tmp.xml, useInternal=TRUE) xpathApply(xml, //component/@ymin, xmlValue) [[1]] [1] 0.32371064328183174 [[2]] [1]

Re: [R] read XML

2008-07-30 Thread Paulo Cardoso
Cardoso Cc: r Subject: Re: [R] read XML Paulo Cardoso [EMAIL PROTECTED] writes: I have a xml exported by Manifold GIS but I'm not being able to import it into R using XLM package. I can library(XML) xml - xmlTreeParse(tmp.xml, useInternal=TRUE) xpathApply(xml, //component/@ymin

Re: [R] read XML

2008-07-30 Thread Martin Morgan
] Sent: quarta-feira, 30 de Julho de 2008 13:49 To: Paulo Cardoso Cc: r Subject: Re: [R] read XML Paulo Cardoso [EMAIL PROTECTED] writes: I have a xml exported by Manifold GIS but I'm not being able to import it into R using XLM package. I can library(XML) xml - xmlTreeParse