xsl-list
[Top] [All Lists]

RE: No Context Item Available Error in XMLSpy

2005-10-18 04:20:32
Looks like one that should be reported to Altova.

Michael Kay
http://www.saxonica.com/ 

-----Original Message-----
From: UlyLee [mailto:ulyleeka(_at_)yahoo(_dot_)com] 
Sent: 18 October 2005 10:00
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] No Context Item Available Error in XMLSpy

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>
--~--





--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>