First of all sorry about the (kind of) off topic question, but I couldn't find 
a Xalan mailinglist.

I'm trying to apply an Xpath to a document that I got from parsing an xml-file 
using xerces 1.3.1 in the following way:

parser = new DOMParser();
parser.setFeature( "http://xml.org/sax/features/validation";, fsetValidation );
parser.setFeature( "http://xml.org/sax/features/namespaces";, fsetNameSpaces );
parser.setFeature( "http://apache.org/xml/features/validation/schema";, 
fsetSchemaSupport );
parser.setErrorHandler (paeh);

Document theDoc = parser.parse("SomeXMLFile.xml");

Now if I use theDoc as the contextNode for the XPathAPI.selectNodeList method 
it returns an empty NodeList.

if I use the same xml-file, and XPathstring with the ApplyXPath sample I get 
the result I want...

I could really need some help here plz..

       _\|/_
       (@ @)
---oOOo-(_)-oOOo---
    Ren� Jensen
 [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to