[xmlsec] Some questions of using XPath expressions with xmlsec1

Aleksey Sanin aleksey at aleksey.com
Tue Apr 20 11:37:46 PDT 2004

> I am getting the following error
> xmlsec1 sign ./mysample.xml --node-xpath /nutrition/food mykey.pem


xmlsec1 help-sign

> Also, I was trying to get some code going on using xpath expressions to 
> sign a part of the document and I came across this email from the 
> archives sometime in 2002. It uses apis like xmlSecReferenceAddTransform 
> and xmlSecTransformXPathAdd to incorporate xpath expressions when 
> signing files. These don't seem to exist anymore.
> Could you, or anyone, post an example, if possible, on 
> signing/encrypting portions of document.


> Finally, I tried to compile the xkms-server.c example and it does not 
> compile for me. I thought
> I will let you know as in your Changelog you indicate that this example 
> is finished. 
You are including something from old version of xmlsec.


More information about the xmlsec mailing list