|
<!-- Credit to Liam Quin of DelightfulComputing.com for the help on Freenode's #xml -->
|
|
|
|
<xsl:stylesheet
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
version="1.0"
|
|
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
|
|
xmlns:sdd-common="http://docs.oasis-open.org/sdd/ns/common"
|
|
xmlns:sdd-pd="http://docs.oasis-open.org/sdd/ns/packageDescriptor"
|
|
xmlns:sdd-um="http://w3.ibm.com/xmlns/b2b/b2b/sdd/um/nsr_w3_b2b_b2b_sdd_um_0100.xml"
|
|
>
|
|
|
|
<xsl:output method="text" /> <!--* don't want XML declaration *-->
|
|
|
|
<xsl:template match="*"><xsl:apply-templates select="*"/></xsl:template>
|
|
|
|
<xsl:template match="*[local-name(.)='Content'][ds:DigestValue]">
|
|
<xsl:value-of select="ds:DigestValue"/>
|
|
<xsl:text> </xsl:text>
|
|
<xsl:value-of select="@pathname"/>
|
|
<xsl:text>
</xsl:text>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|