[xsl] No Context Item Available Error in XMLSpy

Subject: [xsl] No Context Item Available Error in XMLSpy
From: UlyLee <ulyleeka@xxxxxxxxx>
Date: Tue, 18 Oct 2005 01:59:49 -0700 (PDT)
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/

Current Thread