diff options
Diffstat (limited to 'xslt/sign.xsl')
-rw-r--r-- | xslt/sign.xsl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xslt/sign.xsl b/xslt/sign.xsl index 19aa9c55..c0e04ab5 100644 --- a/xslt/sign.xsl +++ b/xslt/sign.xsl @@ -18,7 +18,8 @@ <ds:SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /> <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /> - <ds:Reference URI=""> + <ds:Reference> + <xsl:attribute name="URI"><xsl:text>#</xsl:text><xsl:value-of select="@ID"/></xsl:attribute> <ds:Transforms> <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#WithComments"/> |