search for: setcurrentchildnod

Displaying 1 result from an estimated 1 matches for "setcurrentchildnod".

Did you mean: setcurrentchildnode
2008 Sep 07
4
XML - get node by name
...here, I try to rewrite some Java-code with R. It deals with reading XML files. I started with the XML package. In Java, I had a very useful method which gave me a node by using: name of the node index of appearance start point: global (false) / local (true) So, I could do something like this. setCurrentChildNode("data", 0); getValueOfElement("val",1,true); --> gives 45 setCurrentChildNode("data", 1); getValueOfElement("val",1,true); --> gives 11 getValueOfElement("val",1,false); --> gives 45 <root> <data loc="1"> &...