Re: [xml] XPath and indentation



and running the following query "//person[name=John]" all is working right.

Whitespace is siginificant.  Try
        //person[normalize-space(name)=John]

--
Rich Salz, Chief Security Architect
DataPower Technology                           http://www.datapower.com
XS40 XML Security Gateway   http://www.datapower.com/products/xs40.html
XML Security Overview  http://www.datapower.com/xmldev/xmlsecurity.html




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]