Hi!
I'm using XMLSpy and i'm trying to debug my xsl that
has this function:
<xsl:function name="f:replace-all">
<xsl:param name="input" as="xs:string*"/>
<xsl:param name="words-to-replace" as="xs:string*"/>
<xsl:param name="replacement" as="xs:string*"/>
<xsl:sequence select="if (exists($words-to-replace))
then f:replace-all(replace($input,
$words-to-replace[1],
$replacement[1]),remove($words-to-replace,1),remove($replacement,1))
else $input"/>
</xsl:function>
as soon as the cursor moves to the 1st xsl:param
element, i get a No Context Item Available Error in
the debug message. However when i'm transforming it
and not debugging it, there are no error message
returned. Same goes when i'm using saxon
thanks,
UlyLee
__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--