Re: Somone... help... please ...

2005-03-09 Thread Raul Benito
Ok, You must put always namespaceAware(true), for fixing your xpath problems is recommended to do something like that: Element nscontext = XMLUtils.createDSctx(doc, "ds", Constants.SignatureSpecNS); //retrieve the signature Element

SOLVED: Re: Somone... help... please ...

2005-03-09 Thread Heiner Westphal
nks n god bless :) -Original Message- From: Heiner Westphal [mailto:[EMAIL PROTECTED] Sent: 09 March 2005 19:54 To: security-dev@xml.apache.org Subject: Re: Somone... help... please ... Ritesh, leaving the namepaceAware on true and use some ugly XPath like "//*[local-name()='Header

Re: Somone... help... please ...

2005-03-09 Thread Heiner Westphal
--Original Message----- From: Heiner Westphal [mailto:[EMAIL PROTECTED] Sent: 09 March 2005 19:54 To: security-dev@xml.apache.org Subject: Re: Somone... help... please ... Ritesh, leaving the namepaceAware on true and use some ugly XPath like "//*[local-name()='Header']/*[local-name()=&#

RE: Somone... help... please ...

2005-03-09 Thread Ritesh.Aswaney
est Always, Ritesh Aswaney * Mobile: +44 7909540132 -Original Message- From: Heiner Westphal [mailto:[EMAIL PROTECTED] Sent: 09 March 2005 19:54 To: security-dev@xml.apache.org Subject: Re: Somone... help

Re: Somone... help... please ...

2005-03-09 Thread Heiner Westphal
Ritesh, leaving the namepaceAware on true and use some ugly XPath like "//*[local-name()='Header']/*[local-name()='SenderInfo']/*[local-name()='SenderID']" will match the node you would have called "//Header/SenderInfo/SenderID" in absence of namespaces. Sadly it matches nodes even in the wrong nam