source: trunk/third/libxslt/doc/news.xsl @ 20733

Revision 20733, 1.1 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r20732, which included commits to RCS files with non-trunk default branches.
Line 
1<?xml version="1.0"?>
2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3                xmlns:xhtml="http://www.w3.org/1999/xhtml"
4                version="1.0">
5  <xsl:output method="text" encoding="ISO-8859-1"/>
6
7  <xsl:template match="/">
8    <xsl:text>
9        NEWS file for libxslt
10
11  Note that this is automatically generated from the news webpage at:
12       http://xmlsoft.org/XSLT/news.html
13
14</xsl:text>
15    <xsl:apply-templates select="//xhtml:h3[1]/.."/>
16  </xsl:template>
17  <xsl:template match="xhtml:h3">
18    <xsl:text>
19</xsl:text>
20    <xsl:apply-templates/>
21    <xsl:text>:
22</xsl:text>
23  </xsl:template>
24  <xsl:template match="xhtml:ul">
25    <xsl:apply-templates select=".//xhtml:li"/>
26    <xsl:text>
27</xsl:text>
28  </xsl:template>
29  <xsl:template match="xhtml:li">
30    <xsl:text>   - </xsl:text>
31    <xsl:value-of select="."/>
32    <xsl:text>
33</xsl:text>
34  </xsl:template>
35  <xsl:template match="xhtml:a">
36    <xsl:value-of select="."/>
37    <xsl:text> at
38</xsl:text>
39    <xsl:value-of select="@href"/>
40    <xsl:text>
41</xsl:text>
42  </xsl:template>
43</xsl:stylesheet>
44
Note: See TracBrowser for help on using the repository browser.