[Home] [By Thread] [By Date] [Recent Entries]
On 02.09.2019 22:55, Dimitre Novatchev dnovatchev@xxxxxxxxx wrote:
I need to call an existing xsl:function from within the xpath (target-expression ) attribute of <xsl:evaluate>.
<?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="3.0" xmlns:my="http://www.example.com/my-functions" exclude-result-prefixes="my"> <!-- PURPOSE test xsl:evaluate with a literal argument calling a stylesheet function -->
<xsl:function name="my:f" visibility="public">
<xsl:sequence select="$p"/>
</xsl:function><xsl:param name="p" select="42"/> </xsl:stylesheet> for instance, runs fine for me within oXygen and Saxon 9.8 EE using the "main" template as the entry point.
|

Cart



