author | Michael Krelin <hacker@klever.net> | 2004-07-21 21:33:58 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2004-07-21 21:33:58 (UTC) |
commit | 76921288a0aa39acb53102863523c388b5d0f9ee (patch) (unidiff) | |
tree | 57fdc8abf9649084af0a74a8ab59ce99fa6742f0 /NEWS.xsl | |
parent | 4b2d32eca61f62bfd1370fd64254514152ecd23c (diff) | |
download | dudki-76921288a0aa39acb53102863523c388b5d0f9ee.zip dudki-76921288a0aa39acb53102863523c388b5d0f9ee.tar.gz dudki-76921288a0aa39acb53102863523c388b5d0f9ee.tar.bz2 |
xmlized NEWS0.1
-rw-r--r-- | NEWS.xsl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/NEWS.xsl b/NEWS.xsl new file mode 100644 index 0000000..7c71307 --- a/dev/null +++ b/NEWS.xsl | |||
@@ -0,0 +1,24 @@ | |||
1 | <?xml version="1.0" encoding="us-ascii"?> | ||
2 | <xsl:stylesheet version="1.0" | ||
3 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
4 | > | ||
5 | <xsl:output | ||
6 | method="text" | ||
7 | encoding="us-ascii" | ||
8 | media-type="text/plain" /> | ||
9 | |||
10 | <xsl:template match="news"> | ||
11 | <xsl:apply-templates/> | ||
12 | </xsl:template> | ||
13 | <xsl:template match="version"> | ||
14 | <xsl:value-of select="concat(@version,' (',@date,')
')"/> | ||
15 | <xsl:apply-templates/> | ||
16 | </xsl:template> | ||
17 | <xsl:template match="ni"> | ||
18 | <xsl:text> - </xsl:text> | ||
19 | <xsl:apply-templates mode="text"/> | ||
20 | <xsl:text>
</xsl:text> | ||
21 | </xsl:template> | ||
22 | <xsl:template match="*|text()"/> | ||
23 | |||
24 | </xsl:stylesheet> | ||