aboutsummaryrefslogtreecommitdiffstats
path: root/doc/news.xsl
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-04-26 22:29:54 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-04-26 22:29:54 +0000
commit1177ca42ab07e6a835b0a9a9218822b62caca3e4 (patch)
tree377c1d8e7dcf3fced4ae926ba168e790d04aed80 /doc/news.xsl
parent329456ab09aad57386065eea9e3d49f7a9384594 (diff)
downloadandroid_external_libxml2-1177ca42ab07e6a835b0a9a9218822b62caca3e4.tar.gz
android_external_libxml2-1177ca42ab07e6a835b0a9a9218822b62caca3e4.tar.bz2
android_external_libxml2-1177ca42ab07e6a835b0a9a9218822b62caca3e4.zip
updated the web site separated developers from common pages, made the
* NEWS doc/*.xsl doc/*.html: updated the web site separated developers from common pages, made the transition to XHTML1, added validity checking to the makefile rules. Daniel
Diffstat (limited to 'doc/news.xsl')
-rw-r--r--doc/news.xsl19
1 files changed, 11 insertions, 8 deletions
diff --git a/doc/news.xsl b/doc/news.xsl
index 58cd271b..2312e0da 100644
--- a/doc/news.xsl
+++ b/doc/news.xsl
@@ -1,5 +1,7 @@
<?xml version="1.0"?>
-<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"
+ xmlns:xhtml="http://www.w3.org/1999/xhtml"
+ version="1.0">
<xsl:output method="text" encoding="ISO-8859-1"/>
<xsl:template match="/">
@@ -10,26 +12,27 @@
http://xmlsoft.org/news.html
</xsl:text>
- <xsl:apply-templates select="//h3[1]/.."/>
+ <xsl:apply-templates select="//xhtml:h3[1]/.."/>
</xsl:template>
- <xsl:template match="h3">
+ <xsl:template match="xhtml:h3">
<xsl:text>
</xsl:text>
<xsl:apply-templates/>
- <xsl:text>:</xsl:text>
+ <xsl:text>:
+</xsl:text>
</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>