Skip to content

Commit

Permalink
Stripping namespaces in ldh:XHTMLContent mode should not be necessa…
Browse files Browse the repository at this point in the history
…ry now that the output is XHTML (`xmlns="http://www.w3.org/1999/xhtml"`)
  • Loading branch information
namedgraph committed Nov 21, 2024
1 parent ac52be7 commit bb23114
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1132,13 +1132,12 @@ exclude-result-prefixes="#all"
</xsl:template>

<!-- XHTML CONTENT IDENTITY TRANSFORM -->
<!-- used to strip namespace declarations -->

<xsl:template match="*" mode="ldh:XHTMLContent" priority="1">
<!-- <xsl:template match="*" mode="ldh:XHTMLContent" priority="1">
<xsl:element name="{name()}">
<xsl:apply-templates select="@* | node()" mode="#current"/>
</xsl:element>
</xsl:template>
</xsl:template>-->

<xsl:template match="@* | node()" mode="ldh:XHTMLContent">
<xsl:copy>
Expand Down

0 comments on commit bb23114

Please sign in to comment.