From: | "Daniel Black (dragonheart)" <dragonheart@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-dns/dnssec-root/files: anchors2ds.xsl |
Date: | Tue, 30 Nov 2010 08:53:26 |
Message-Id: | 20101130085315.7777220057@flycatcher.gentoo.org |
1 | dragonheart 10/11/30 08:53:15 |
2 | |
3 | Added: anchors2ds.xsl |
4 | Log: |
5 | initial ebuild of dnssec root key |
6 | |
7 | (Portage version: 2.2.0_alpha3/cvs/Linux i686) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-dns/dnssec-root/files/anchors2ds.xsl |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnssec-root/files/anchors2ds.xsl?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/dnssec-root/files/anchors2ds.xsl?rev=1.1&content-type=text/plain |
14 | |
15 | Index: anchors2ds.xsl |
16 | =================================================================== |
17 | <?xml version="1.0"?> |
18 | |
19 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
20 | <xsl:output method="text"/> |
21 | |
22 | <xsl:template match="/"> |
23 | <xsl:apply-templates/> |
24 | </xsl:template> |
25 | |
26 | <xsl:template match="/TrustAnchor"> |
27 | <xsl:apply-templates select="Zone"/> |
28 | <xsl:apply-templates select="KeyDigest"/> |
29 | <xsl:text> |
30 | </xsl:text> |
31 | </xsl:template> |
32 | |
33 | <xsl:template match="KeyDigest"> |
34 | <xsl:apply-templates select="KeyTag"/> |
35 | <xsl:apply-templates select="Algorithm"/> |
36 | <xsl:apply-templates select="DigestType"/> |
37 | <xsl:apply-templates select="Digest"/> |
38 | </xsl:template> |
39 | |
40 | <xsl:template match="Zone"> |
41 | <xsl:value-of select="text()"/><xsl:text> IN DS </xsl:text> |
42 | </xsl:template> |
43 | |
44 | <xsl:template match="*"> |
45 | <xsl:value-of select="text()"/><xsl:text> </xsl:text> |
46 | </xsl:template> |
47 | |
48 | </xsl:stylesheet> |