PDA

View Full Version : XML and xPath using Ext.DomQuery



svinchon
29 Aug 2012, 4:41 AM
Hello,

I am trying to determine if I can use Ext-JS to manipulate XML data using xPath.

Could someone tell me why the following simple code does not seems return anything:


var znode = Ext.DomQuery.selectNode('/Documents/Document', "<Documents><Document>fff</Document><Document>ggg</Document></Documents>");

Am I missing something?

I can't seem to find any good example on this anywhere.

Many thanks for any help.

Regards.