<!--
Signature template, with dummy crypto values, over an element with the signature itself.
Note that one of the Transform elements contains an XSLT style sheet.

Author: Ed Simon, Entrust Technologies
-->
<Signature xmlns="http://www.w3.org/2000/01/xmldsig"> 
  <SignedInfo Id="mypage"> 
	 <CanonicalizationMethod Algorithm="http://www.w3.org/1999/07/WD-xml-c14n-19990729"> 
	 </CanonicalizationMethod>
	 <SignatureMethod Algorithm="http://www.w3.org/2000/01/xmldsig/dsa"> 
	 </SignatureMethod>
	 <Reference IDREF="receipt1"> 
		<Transforms>
		  <Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116">
<!-- Here's the XSLT stylesheet -->		  
<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
                xmlns:xreceipt="http://www.w3.org/2000/01/xmldsig-receipt"
                version="1.0">

<xsl:template match="text()" priority="-1"/>

<xsl:template match="xreceipt:receipt/xreceipt:warranty | xreceipt:receipt/xreceipt:warranty//* | xreceipt:receipt/xreceipt:warranty//@*  | xreceipt:receipt/xreceipt:warranty//text()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>

</xsl:stylesheet>	

		  </Transform>
		  <Transform Algorithm="http://www.w3.org/1999/07/WD-xml-c14n-19990729"/>
		</Transforms> 
		<DigestMethod Algorithm="http://www.w3.org/2000/01/xmldsig/sha1"> 
		</DigestMethod>
		<DigestValue>notARealDigestValue</DigestValue> 
	 </Reference> 	 
  </SignedInfo> 
  <SignatureValue>notARealSignatureValue</SignatureValue> 
  <KeyInfo> 
	 <KeyName>Solo</KeyName> 
  </KeyInfo>
  <Object>
    <receipt id="receipt1" xmlns="http://www.w3.org/2000/01/xmldsig-receipt">
        <item>Toothbrush</item>
        <warranty>
            <validUntil>2000 Dec 3</validUntil>
            <certificate>
                This certifies ABC company will replace the Toothbrush if it becomes worn
                out before the date specified in the warranty.
            </certificate>
        </warranty>
    </receipt>
  </Object>
</Signature> 
