annotate doc/wiki2docbook/html2db/extract-section.xsl @ 1811:f405ec9b696b
default tip
Some small logic mistakes
Use boolean operators for booleans and bitwise otherwise only.
author |
mow |
date |
Mon, 10 May 2010 11:33:13 +0000 |
parents |
2ae81598b254 |
children |
|
rev |
line source |
1773
|
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>
|