diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2003-04-27 10:47:55 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2003-04-27 10:47:55 +0000 |
commit | be5c2c746e6852f5b2375172811bc53fdcf4f0bf (patch) | |
tree | 9bab4e2e28e90d6930248993ae9ad77345d338fa /doc/xsa.xsl | |
parent | 6eb57275e219841ff275e04eaee68a5ad7dfa3e4 (diff) | |
download | libxslt-be5c2c746e6852f5b2375172811bc53fdcf4f0bf.tar.gz libxslt-be5c2c746e6852f5b2375172811bc53fdcf4f0bf.tar.bz2 libxslt-be5c2c746e6852f5b2375172811bc53fdcf4f0bf.zip |
updated the web site, made the transition to XHTML1 added validity
* NEWS doc/*.xsl doc/*.html: updated the web site, made the
transition to XHTML1 added validity checking to the makefile rules.
Daniel
Diffstat (limited to 'doc/xsa.xsl')
-rw-r--r-- | doc/xsa.xsl | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/doc/xsa.xsl b/doc/xsa.xsl index 45a47601..343ef34a 100644 --- a/doc/xsa.xsl +++ b/doc/xsa.xsl @@ -4,7 +4,8 @@ latest News entry. See http://www.garshol.priv.no/download/xsa/ for a description of XSA --> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" + xmlns:xhtml="http://www.w3.org/1999/xhtml" exclude-result-prefixes="xhtml"> <xsl:output method="xml" doctype-public="-//LM Garshol//DTD XML Software Autoupdate 1.0//EN//XML" doctype-system="http://www.garshol.priv.no/download/xsa/xsa.dtd" @@ -19,29 +20,29 @@ </vendor> <product id="libxslt"> <name>libxslt</name> - <version><xsl:value-of select="substring-before(//h3[2], ':')"/></version> - <last-release><xsl:value-of select="substring-after(//h3[2], ':')"/></last-release> + <version><xsl:value-of select="substring-before(//xhtml:h3[2], ':')"/></version> + <last-release><xsl:value-of select="substring-after(//xhtml:h3[2], ':')"/></last-release> <info-url>http://xmlsoft.org/XSLT/</info-url> <changes> - <xsl:apply-templates select="//h3[2]/following-sibling::*[1]"/> + <xsl:apply-templates select="//xhtml:h3[2]/following-sibling::*[1]"/> </changes> </product> </xsa> </xsl:template> - <xsl:template match="h3"> + <xsl:template match="xhtml:h3"> </xsl:template> - <xsl:template match="ul"> - <xsl:apply-templates select=".//li"/> + <xsl:template match="xhtml:ul"> + <xsl:apply-templates select=".//xhtml:li"/> <xsl:text> </xsl:text> </xsl:template> - <xsl:template match="li"> + <xsl:template match="xhtml:li"> <xsl:text> - </xsl:text> <xsl:value-of select="."/> <xsl:text> </xsl:text> </xsl:template> - <xsl:template match="a"> + <xsl:template match="xhtml:a"> <xsl:value-of select="."/> <xsl:text> at </xsl:text> |