Commit 47b9ad32 authored by Fabien Boucaud's avatar Fabien Boucaud

Updating html2xhtml3.xsl with the removal of the titles' paragraph tags

parent ac0e6fcc
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs"
xmlns="http://www.utc.fr/ics/hdoc/xhtml" version="2.0">
xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs" version="2.0">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="//li[parent::p]" priority="1">
......@@ -33,6 +32,10 @@
</li>
</xsl:template>
<xsl:template match="p[child::h1 or child::h2 or child::h3 or child::h4 or child::h5 or child::h6]">
<xsl:apply-templates select="./*"/>
</xsl:template>
<!--Identity template,
provides default behavior that copies all content into the output -->
<xsl:template match="@*|node()">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment