Peter <peter.greve <at> bst-international.com> writes:

> 
> Hi Dietrich,
> 
> thanks for that.
> qx.xml.Document.isXmlDocument(xmlDocument); gives a true now
> 
> But now I stick at reading the data.
>    qx.xml.Element.selectNodes(xmlDocument, '//');
> ends up in a 
>    Cannot read property 'selectNodes' of undefined
> 
> why 'undefined' any ideas ?
> 
> thanks Peter
> 
> --------------------------------------------------------------------------
----
> 

hi again

I got the data when using :

  var xmlNodes = xmlDocument.getElementsByTagName();
  var data = xmlNodes['tagName'].attributes.getNamedItem('itemName').value;

But isn't there a solution by just using the qx.xml stuff ?
qx.xml.Element.getSingleNodeText() sounds very good.
Could it shorten the way and should give the same result?

regards
Peter


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to