mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-10-26 20:25:14 +03:00
8ba1741abd
* NEWS doc/Makefile.am doc/news.xsl: generate the NEWS file from doc/news.html and a stylesheet Daniel
42 lines
977 B
XML
42 lines
977 B
XML
<?xml version="1.0"?>
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
|
<xsl:output method="text" encoding="ISO-8859-1"/>
|
|
|
|
<xsl:template match="/">
|
|
<xsl:text>
|
|
NEWS file for libxml2
|
|
|
|
Note that this is automatically generated from the news webpage at:
|
|
http://xmlsoft.org/news.html
|
|
|
|
</xsl:text>
|
|
<xsl:apply-templates select="//h3[1]/.."/>
|
|
</xsl:template>
|
|
<xsl:template match="h3">
|
|
<xsl:text>
|
|
</xsl:text>
|
|
<xsl:apply-templates/>
|
|
<xsl:text>:</xsl:text>
|
|
</xsl:template>
|
|
<xsl:template match="ul">
|
|
<xsl:apply-templates select=".//li"/>
|
|
<xsl:text>
|
|
</xsl:text>
|
|
</xsl:template>
|
|
<xsl:template match="li">
|
|
<xsl:text> - </xsl:text>
|
|
<xsl:value-of select="."/>
|
|
<xsl:text>
|
|
</xsl:text>
|
|
</xsl:template>
|
|
<xsl:template match="a">
|
|
<xsl:value-of select="."/>
|
|
<xsl:text> at
|
|
</xsl:text>
|
|
<xsl:value-of select="@href"/>
|
|
<xsl:text>
|
|
</xsl:text>
|
|
</xsl:template>
|
|
</xsl:stylesheet>
|
|
|