Re: [R] read XML

2008-07-30 Thread Martin Morgan
] "XMLTextNode" "XMLNode" > ..- attr(*, "class")= chr "XMLNode" > $ pagesByX:List of 1 > ..$ text: list() > .. ..- attr(*, "class")= chr [1:2] "XMLTextNode" "XMLNode" > ..- attr(*, "class")= chr &

Re: [R] read XML

2008-07-30 Thread Paulo Cardoso
quot;class")= chr "XMLNode" ..- attr(*, "class")= chr "XMLNode" - attr(*, "class")= chr "XMLNode" And I need the first two components of elements:List of 4. >From those components I need to manipulate xmax and xmin and write a new xml

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