Improving desktop template
[geeqie.git] / doc / wiki2docbook / html2db / extract-section.xsl
1 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"\r
2                 xmlns:h="http://www.w3.org/1999/xhtml"\r
3                 version="1.0">\r
4   \r
5   <xsl:output method="html"/>\r
6   \r
7   <xsl:template match="/">\r
8     <xsl:apply-templates select="h:html/h:body//h:div[@class='section']"/>\r
9   </xsl:template>\r
10   \r
11   <xsl:template match="@*|node()">\r
12     <xsl:copy>\r
13       <xsl:apply-templates select="@*|node()"/>\r
14     </xsl:copy>\r
15   </xsl:template>\r
16 </xsl:stylesheet>\r