comparison doc/wiki2docbook/html2db/extract-section.xsl @ 1734:b92fc3c922ac

scripts for converting wiki documentation to docbook
author nadvornik
date Sun, 22 Nov 2009 09:12:22 +0000
parents
children
comparison
equal deleted inserted replaced
1733:91a65afb5d77 1734:b92fc3c922ac
1 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
2 xmlns:h="http://www.w3.org/1999/xhtml"
3 version="1.0">
4
5 <xsl:output method="html"/>
6
7 <xsl:template match="/">
8 <xsl:apply-templates select="h:html/h:body//h:div[@class='section']"/>
9 </xsl:template>
10
11 <xsl:template match="@*|node()">
12 <xsl:copy>
13 <xsl:apply-templates select="@*|node()"/>
14 </xsl:copy>
15 </xsl:template>
16 </xsl:stylesheet>