File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / libxml2 / doc / news.xsl
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:37:59 2012 UTC (12 years, 4 months ago) by misho
Branches: libxml2, MAIN
CVS tags: v2_9_1p0, v2_9_1, v2_8_0p0, v2_8_0, v2_7_8, HEAD
libxml2

    1: <?xml version="1.0"?>
    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">
    5:   <xsl:output method="text" encoding="UTF-8"/>
    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>
   15:     <xsl:apply-templates select="//xhtml:h3[1]/.."/>
   16:   </xsl:template>
   17:   <xsl:template match="xhtml:h3">
   18:     <xsl:text>
   19: </xsl:text>
   20:     <xsl:apply-templates/>
   21:     <xsl:text>:
   22: </xsl:text>
   23:   </xsl:template>
   24:   <xsl:template match="xhtml:ul">
   25:     <xsl:apply-templates select=".//xhtml:li"/>
   26:     <xsl:text>
   27: </xsl:text>
   28:   </xsl:template>
   29:   <xsl:template match="xhtml:li">
   30:     <xsl:text>   - </xsl:text>
   31:     <xsl:value-of select="."/>
   32:     <xsl:text>
   33: </xsl:text>
   34:   </xsl:template>
   35:   <xsl:template match="xhtml:a">
   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: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>