Project

Profile

Help

Bug #4045 ยป saxon9902issue.xsl

Philip Fearon, 2018-11-21 14:05

 
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:deltaxml="http://www.deltaxml.com/ns/well-formed-delta-v1"
xmlns:cals="http://www.deltaxml.com/ns/cals-table"
xmlns:dxa="http://www.deltaxml.com/ns/non-namespaced-attribute"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xd="http://www.oxygenxml.com/ns/doc/xsl"
exclude-result-prefixes="#all"
version="3.0">


<xsl:template match="/*">
<xsl:copy>
<xsl:apply-templates select="div" mode="user"/>
<xsl:apply-templates select="table" mode="internal"/>
</xsl:copy>
</xsl:template>
<xsl:template match="@*|node()" mode="#all">
<xsl:copy>
<xsl:apply-templates select="@*, node()" mode="#current"/>
</xsl:copy>
</xsl:template>
<xsl:template match="@cols" mode="user structural">
<xsl:copy/>
</xsl:template>



</xsl:stylesheet>
    (1-1/1)