Daniel Veillard | 8ba1741 | 2003-01-01 19:13:12 +0000 | [diff] [blame] | 1 | <?xml version="1.0"?> |
Daniel Veillard | 1177ca4 | 2003-04-26 22:29:54 +0000 | [diff] [blame] | 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"> |
Daniel Veillard | 8ba1741 | 2003-01-01 19:13:12 +0000 | [diff] [blame] | 5 | <xsl:output method="text" encoding="ISO-8859-1"/> |
| 6 | |
| 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 Veillard | 1177ca4 | 2003-04-26 22:29:54 +0000 | [diff] [blame] | 15 | <xsl:apply-templates select="//xhtml:h3[1]/.."/> |
Daniel Veillard | 8ba1741 | 2003-01-01 19:13:12 +0000 | [diff] [blame] | 16 | </xsl:template> |
Daniel Veillard | 1177ca4 | 2003-04-26 22:29:54 +0000 | [diff] [blame] | 17 | <xsl:template match="xhtml:h3"> |
Daniel Veillard | 8ba1741 | 2003-01-01 19:13:12 +0000 | [diff] [blame] | 18 | <xsl:text> |
| 19 | </xsl:text> |
| 20 | <xsl:apply-templates/> |
Daniel Veillard | 1177ca4 | 2003-04-26 22:29:54 +0000 | [diff] [blame] | 21 | <xsl:text>: |
| 22 | </xsl:text> |
Daniel Veillard | 8ba1741 | 2003-01-01 19:13:12 +0000 | [diff] [blame] | 23 | </xsl:template> |
Daniel Veillard | 1177ca4 | 2003-04-26 22:29:54 +0000 | [diff] [blame] | 24 | <xsl:template match="xhtml:ul"> |
| 25 | <xsl:apply-templates select=".//xhtml:li"/> |
Daniel Veillard | 8ba1741 | 2003-01-01 19:13:12 +0000 | [diff] [blame] | 26 | <xsl:text> |
| 27 | </xsl:text> |
| 28 | </xsl:template> |
Daniel Veillard | 1177ca4 | 2003-04-26 22:29:54 +0000 | [diff] [blame] | 29 | <xsl:template match="xhtml:li"> |
Daniel Veillard | 8ba1741 | 2003-01-01 19:13:12 +0000 | [diff] [blame] | 30 | <xsl:text> - </xsl:text> |
| 31 | <xsl:value-of select="."/> |
| 32 | <xsl:text> |
| 33 | </xsl:text> |
| 34 | </xsl:template> |
Daniel Veillard | 1177ca4 | 2003-04-26 22:29:54 +0000 | [diff] [blame] | 35 | <xsl:template match="xhtml:a"> |
Daniel Veillard | 8ba1741 | 2003-01-01 19:13:12 +0000 | [diff] [blame] | 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 | |