diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-23 20:22:05 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-23 20:22:05 +0000 |
commit | cc7ab0ab786dc7c81d32fea69344cd5298c32c1d (patch) | |
tree | ecf5bf0ac1a8074e81adcd6cd7af9619a814c5cd /main/dnssec-root/anchors2ds.xsl | |
parent | 3dd594425032345b8f64225adc73d57a1306211f (diff) | |
download | aports-cc7ab0ab786dc7c81d32fea69344cd5298c32c1d.tar.bz2 aports-cc7ab0ab786dc7c81d32fea69344cd5298c32c1d.tar.xz |
main/dnssec-root: moved from testing
Diffstat (limited to 'main/dnssec-root/anchors2ds.xsl')
-rw-r--r-- | main/dnssec-root/anchors2ds.xsl | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/main/dnssec-root/anchors2ds.xsl b/main/dnssec-root/anchors2ds.xsl new file mode 100644 index 0000000000..3df47e2075 --- /dev/null +++ b/main/dnssec-root/anchors2ds.xsl @@ -0,0 +1,32 @@ +<?xml version="1.0"?> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> + <xsl:output method="text"/> + + <xsl:template match="/"> + <xsl:apply-templates/> + </xsl:template> + + <xsl:template match="/TrustAnchor"> + <xsl:apply-templates select="Zone"/> + <xsl:apply-templates select="KeyDigest"/> + <xsl:text> +</xsl:text> + </xsl:template> + + <xsl:template match="KeyDigest"> + <xsl:apply-templates select="KeyTag"/> + <xsl:apply-templates select="Algorithm"/> + <xsl:apply-templates select="DigestType"/> + <xsl:apply-templates select="Digest"/> + </xsl:template> + + <xsl:template match="Zone"> + <xsl:value-of select="text()"/><xsl:text> IN DS </xsl:text> + </xsl:template> + + <xsl:template match="*"> + <xsl:value-of select="text()"/><xsl:text> </xsl:text> + </xsl:template> + +</xsl:stylesheet>
\ No newline at end of file |