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
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
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]
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
]
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
5 matches
Mail list logo