Re: [qooxdoo-devel] short xml question

2009-05-15 Thread Michael Helwig
Hi Daniel, you are right: I somehow messed up the xpath argument when posting. I tried the code I had posted in the playground and it yielded "null", as you exptected. I have now modified the code according to your suggestions - it works! The code now looks like this: var tables = qx.xml.Eleme

Re: [qooxdoo-devel] short xml question

2009-05-15 Thread Daniel Wagner
Hi Michael, I just tried to reproduce the problem in the Playground but got null instead of the first node's text. That's actually correct, because in your call to getSingleNodeText you're asking for the text of another node called "name" which is a child of the root element for the search (th

[qooxdoo-devel] short xml question

2009-05-15 Thread Michael Helwig
Hello, I'm having problems with xml processing. Since I haven't worked much with XML, it's probably a very basic mistake, but I don't see what's wrong. So here is the XML: firstTable secondTable and the following code is supposed to select the name-entry of the second