Rank: Newbie
Joined: 7/24/2015 Posts: 2
|
Hi,
I was trying to use an user defined function in Altova XML Spy, using XSLT 1.0. But it is not able to recognize the functions,
I am getting the following error :
XPST0017: The function call 'myfunc:mq-mqmd-change-field' does not match the name of a function in the static context
Usage
Code: <xsl:value-of select="myfunc:mq-mqmd-change-field($MQMD, 'Expiry', $backside-expiry)"/>
Declaration
Code: <func:function name="myfunc:mq-mqmd-change-field"> <xsl:param name="mqmd" /> <xsl:param name="name"/> <xsl:param name="value"/> ........................................ </func:function>
|
Rank: Advanced Member
Joined: 12/13/2005 Posts: 2,856 Location: Mauritius
|
Google search helps a lot:
http://stackoverflow.com/questions/1371665/where-do-i-put-an-xsl-function-in-an-xsl-document
|