blob: 50089eb861fc202fe58bb72a4c557a5f0ae6dd89 [file] [log] [blame]
Daniel Veillard8ba17412003-01-01 19:13:12 +00001<?xml version="1.0"?>
Daniel Veillard1177ca42003-04-26 22:29:54 +00002<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns:xhtml="http://www.w3.org/1999/xhtml"
4 version="1.0">
Daniel Veillard25a1ce92008-06-02 16:04:12 +00005 <xsl:output method="text" encoding="UTF-8"/>
Daniel Veillard8ba17412003-01-01 19:13:12 +00006
7 <xsl:template match="/">
8 <xsl:text>
9 NEWS file for libxml2
10
11 Note that this is automatically generated from the news webpage at:
12 http://xmlsoft.org/news.html
13
14</xsl:text>
Daniel Veillard1177ca42003-04-26 22:29:54 +000015 <xsl:apply-templates select="//xhtml:h3[1]/.."/>
Daniel Veillard8ba17412003-01-01 19:13:12 +000016 </xsl:template>
Daniel Veillard1177ca42003-04-26 22:29:54 +000017 <xsl:template match="xhtml:h3">
Daniel Veillard8ba17412003-01-01 19:13:12 +000018 <xsl:text>
19</xsl:text>
20 <xsl:apply-templates/>
Daniel Veillard1177ca42003-04-26 22:29:54 +000021 <xsl:text>:
22</xsl:text>
Daniel Veillard8ba17412003-01-01 19:13:12 +000023 </xsl:template>
Daniel Veillard1177ca42003-04-26 22:29:54 +000024 <xsl:template match="xhtml:ul">
25 <xsl:apply-templates select=".//xhtml:li"/>
Daniel Veillard8ba17412003-01-01 19:13:12 +000026 <xsl:text>
27</xsl:text>
28 </xsl:template>
Daniel Veillard1177ca42003-04-26 22:29:54 +000029 <xsl:template match="xhtml:li">
Daniel Veillard8ba17412003-01-01 19:13:12 +000030 <xsl:text> - </xsl:text>
31 <xsl:value-of select="."/>
32 <xsl:text>
33</xsl:text>
34 </xsl:template>
Daniel Veillard1177ca42003-04-26 22:29:54 +000035 <xsl:template match="xhtml:a">
Daniel Veillard8ba17412003-01-01 19:13:12 +000036 <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