Understanding Xpath

Hi i’m trying to load an xml file with the following structure:

-line-
-pt-
-x–/x-
-y–/y-
-z–/z-
-/pt-
-pt-
-x–/x-
-y–/y-
-z–/z-
-/pt-
-/line-
-line-
-pt-
-x–/x-
-y–/y-
-z–/z-
-/pt-
-pt-
-x–/x-
-y–/y-
-z–/z-
-/pt-
-/line-

i have problems reaching deep data, except if theres only one line tag in the root.

//line/ ?
/line/ ?
/0/ ?

hmmm…

thanks,

k

might be, because xml is only valid, if there’s one rootnode available. just wrap your xml with + (String) into some fake root node and you’re fine

thanks.
it works, of course. :)
somehow rhonda files don´t have a root node…

thanks.
it works, of course. :)
somehow rhonda files don´t have a root node…