[xsl] namespace aware java-xpathapi problem

Subject: [xsl] namespace aware java-xpathapi problem
From: "Sanjay Pandey/Towers Perrin" <pandeys@xxxxxxxxxx>
Date: Mon, 12 Nov 2001 12:23:59 -0500
Hello List,

I have my xml doc like below

<Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";  xmlns="
http://www.x.com/XYZ";  type="X">
     <level2 xsi:type = 'someValue'>


If I try to get to the level2 node by using xpathStr as "//xs:level2[@type
= 'someValue']", I am unable to get the node. If I remove "xsi:" from the
XML, then the same XPath works fine. I am using Xalan and here is a code

                Nodelist nl =

Any help would be highly appreciated.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread