Add Prefix:"ds" - SignedXml

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi,<br/><br/>I want to Add predfix "DS" in signed Document with "SignedXmL".<br/><br/>
Is there a way to set the prefix on the Signature of a Signed XML Document (SignedXml class in .Net)?
So instead of:
Code:
[code]<span class=pun><<span class=tag>Signature<span class=pln> <span class=atn>xmlns<span class=pun>=<span class=atv>"http://www.w3.org/2000/09/xmldsig#><span class=pln><br/>...<br/><span class=pun></<span class=tag>Signature<span class=pun>><span class=pln><br/>
[/code]
I could have the following:
Code:
[code]<span class=pun><<span class=tag>ds:Signature<span class=pln> <span class=atn>xmlns:ds<span class=pun>=<span class=atv>"http://www.w3.org/2000/09/xmldsig#><span class=pln><br/>...<br/><span class=pun></<span class=tag>ds:Signature<span class=pun>><span class=pln><br/>
<br/><br/><br/>Thanks[/code]

View the full article
 
Back
Top