XML Digital Signatures "  Chapter 5 167 <xsl:template match="time|wind|visibility|sky|note|dewpt|press|temperature |humidity"> </xsl:template> </xsl:stylesheet> If this style sheet were to be applied to the weather report file with a stan- dalone XSLT processor, you would see that only the location elements are output. To use this transformation in our XML digital signature, we define an XSLT transform and use this signature for that particular transform.The result of signing such a template is shown in Figure 5.15. Figure 5.15 A Signed XML Weather Report of the Station Locations Using XSLT <?xml version="1.0" encoding="UTF-8"?> <Envelope xmlns="urn:envelope"> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> <SignedInfo> <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml -c14n-20010315"/> <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa -sha1"/> <Reference URI="file:///home/skip/xml/weather.xml"> <Transforms> <Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output encoding="UTF-8" method="xml"/> <xsl:template match="document/header"> </xsl:template> <xsl:template match="document"> <xsl:apply-templates/> </xsl:template> www.syngress.com Figure 5.14 Continued Continued