[Home] [By Thread] [By Date] [Recent Entries]
Am 15.08.2020 um 08:46 schrieb Wolfhart Totschnig wolfhart.totschnig@xxxxxxxxxxx: Dear Gerrit,
As for stripping namespaces, that is usually done in a mode <xsl:template match="*" mode="strip-namespace">
<xsl:element name="local-name()">
<xsl:apply-templates select="@* | node()" mode="#current"/>
</xsl:element>
</xsl:template>and then e.g. <xsl:apply-templates select="serialize(node()) => substring-before(':')
=> lower-case() => parse-xml-fragment()" mode="strip-namespace"/>instead of a simple xsl:sequence. If that doesn't work you might want to summarize which input you have and how your current XSLT based on Graydon's suggestion looks, plus the result you want and the one you get.
|

Cart



