Am 06.11.2019 um 16:39 schrieb Flanders, Charles E (US)
charles(_dot_)flanders(_at_)baesystems(_dot_)com:
Using Saxon HE 9.6.0.7 in Oxygen 18.1. Have access to EE and PE that are part
of Oxygen.
So then you should be able to use Saxon's serialize function instead of
the XPath 3 one:
<xsl:output name="element" omit-xml-declaration="yes" indent="no"/>
<xsl:function name="mf:finger-print" as="xs:string">
<xsl:param name="element" as="element()"/>
<xsl:variable name="normalized-element" as="element()">
<xsl:apply-templates select="$element" mode="normalize"/>
</xsl:variable>
<xsl:sequence select="saxon:serialize($normalized-element,
'element')" xmlns:saxon="http://saxon.sf.net/"/>
</xsl:function>
<xsl:template match="@* | node()" name="normalize">
<xsl:copy>
<xsl:apply-templates select="@* | node()" mode="#current"/>
</xsl:copy>
</xsl:template>
<xsl:template match="terefs/teref/@refs" mode="normalize"/>
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--