> How can I make a template with refereces to three files?
> For examples d:\invoice1.xml, d:\invoice2.xml;d:\invoice 3.xml?

Something like this will do (I skip a lot of stuff):

<Signature xmlns="http://www.w3.org/2000/09/xmldsig#";>
...
  <SignedInfo>
    ...
    <Reference URI="invoice1.xml">
    ...
    </Reference>
    <Reference URI="invoice2.xml">
    ...
    </Reference>
    <Reference URI="invoice3.xml">
    ...
    </Reference>
  </SignedInfo>
  ...
</Signature>

(In this example we assume that invoiceX.xml files are located
in the current folder and that LibXML2 is compiled with file://
protocol support).

Alesksey


_______________________________________________
xmlsec mailing list
xmlsec@aleksey.com
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to