RE: extracting a node from a document containing default namespace

2006-10-19 Thread Ori Doolman
I will try to use the PrefixResolver class. Thanks. Yes, there is. Look at the SimpleXPathAPI sample, and you'll see it uses a class called XalanDocumentPrefixResolver. You can use that class, if the namespaces you're interested are declared in the incoming document, and you can predict t

Re: extracting a node from a document containing default namespace

2006-10-18 Thread David Bertoni
Ori Doolman wrote: Dave, Thank you for your answer. I did notice that it was a FAQ, but the FAQ is talking about stylesheets, while I'm interested only in using the Xpath API in my code to analyze a SOAP response. I succeeded extracting the text I want using expressions like you have suggested:

RE: extracting a node from a document containing default namespace

2006-10-18 Thread Ori Doolman
asible at all? Regards, Ori. -Original Message- From: David Bertoni [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 17, 2006 5:49 PM To: xalan-c-users@xml.apache.org Subject: Re: extracting a node from a document containing default namespace Ori Doolman wrote: > Hello, > I'm quit

Re: extracting a node from a document containing default namespace

2006-10-17 Thread David Bertoni
Ori Doolman wrote: Hello, I'm quite new to Xalan and Xpath, and I have a problem extracting a node text from an XML document. I'm trying to extract the text node of CheckCustomerPINResult in the following document: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="http://www.w3.org/2001