[xmlsec] Using XPath

Gregor Ibic gregor.ibic@intelicom.si
Sun, 3 Nov 2002 12:02:24 +0100


For enveloped signature I have to select all nodes except the Signature
node.
How can I do this? This is specified in w3c xmlsig with the expresion
"not(....)"
or some larger function that uses here() function.

I will parse your code for here() registration.

Regards,
Gregor


Intelicom d.o.o.
Security software company
http://www.intelicom.si
email: info@intelicom.si
tel.: ++386 5 6309 158
fax.: ++386 5 6279 355

-----Original Message-----
From: Aleksey Sanin [mailto:aleksey@aleksey.com]
Sent: Sunday, November 03, 2002 11:51 AM
To: Gregor Ibic
Cc: xmlsec@aleksey.com
Subject: Re: [xmlsec] Using XPath


Gregor Ibic wrote:

>An how can I register it?
>
>
Check the xmlsoft mailing list, Daniel answered on my question
with detailed explanations. Or look at the XMLSec sources (grep
for "here" in the xpath.c).

>What about not(xpath_statement), how can I select all nodes that are not in
>the xpath?
>Exclude nodes that are in path?
>
>
I am not sure that you can do it with XPath. I am sorry but I never
had this problem. Please check XPath specification.

Aleksey