[xmlsec] ref_id

Aleksey Sanin aleksey@aleksey.com
Wed, 13 Aug 2003 02:56:27 -0700


This is a multi-part message in MIME format.
--------------060109090702050104080509
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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.
>
>>>

--------------060109090702050104080509
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Take a look at src/xmltree.c file in xmlsec distribution. There is a
function<br>
that registers ID attributes for &lt;dsig:Signature/&gt; or
&lt;enc:EncryptedData/&gt;<br>
subtrees. Just search for "xmlAddID" in the file.<br>
<br>
Aleksey<br>
<br>
<br>
<br>
<br>
Michiels Olivier wrote:<br>
<blockquote type="cite" cite="mid1060768117.29939.8.camel@Leenux">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="GENERATOR" content="GtkHTML/3.0.8">
Me again,<br>
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.<br>
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.<br>
You're help is really appreciated.<br>
  <br>
  <blockquote type="CITE">
    <blockquote type="CITE"><br>
    </blockquote>
  </blockquote>
</blockquote>
</body>
</html>

--------------060109090702050104080509--