diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2016-11-17 20:58:44 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2016-11-17 20:58:44 (GMT) |
commit | 4f65b25b474bf534e40c3d3aa47d43e8457fcc9a (patch) | |
tree | 21aab4f800fd8a5046a929b3243edf9d461917d5 /libxml2/doc/news.xsl | |
parent | 5720be2a1ff34bf88992db24716f1e489a745e01 (diff) | |
parent | 4464fd97bf7e813b5badf1937e59f6fb5d2be646 (diff) | |
download | blt-4f65b25b474bf534e40c3d3aa47d43e8457fcc9a.zip blt-4f65b25b474bf534e40c3d3aa47d43e8457fcc9a.tar.gz blt-4f65b25b474bf534e40c3d3aa47d43e8457fcc9a.tar.bz2 |
Merge commit '4464fd97bf7e813b5badf1937e59f6fb5d2be646' as 'libxml2'
Diffstat (limited to 'libxml2/doc/news.xsl')
-rw-r--r-- | libxml2/doc/news.xsl | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/libxml2/doc/news.xsl b/libxml2/doc/news.xsl new file mode 100644 index 0000000..50089eb --- /dev/null +++ b/libxml2/doc/news.xsl @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:xhtml="http://www.w3.org/1999/xhtml" + version="1.0"> + <xsl:output method="text" encoding="UTF-8"/> + + <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="//xhtml:h3[1]/.."/> + </xsl:template> + <xsl:template match="xhtml:h3"> + <xsl:text> +</xsl:text> + <xsl:apply-templates/> + <xsl:text>: +</xsl:text> + </xsl:template> + <xsl:template match="xhtml:ul"> + <xsl:apply-templates select=".//xhtml:li"/> + <xsl:text> +</xsl:text> + </xsl:template> + <xsl:template match="xhtml:li"> + <xsl:text> - </xsl:text> + <xsl:value-of select="."/> + <xsl:text> +</xsl:text> + </xsl:template> + <xsl:template match="xhtml:a"> + <xsl:value-of select="."/> + <xsl:text> at +</xsl:text> + <xsl:value-of select="@href"/> + <xsl:text> +</xsl:text> + </xsl:template> +</xsl:stylesheet> + |