Take a look at src/xmltree.c file in xmlsec distribution. There is a function
that registers ID attributes for <dsig:Signature/> or <enc:EncryptedData/>
subtrees. Just search for "xmlAddID" in the file.

Aleksey




Michiels Olivier wrote:
Me again,
sorry but it's the first time I use the libxml2 librairy and your xmlsec librairy and I'm a little confused how to use some functions.
You said that I can use the xmlAddId function to solve my problem, but I don't know how to use that function, how to initialize the xmlValidCtxtPtr parameter. I've check the doc of libxml2 but I didn't found something.
You're help is really appreciated.


Reply via email to