xsl-list
[Top] [All Lists]

RE: XPath Error

2004-10-31 00:22:25
Hi,

Thanks for the reply. Can you let me know how to find
out this one? 

Thanks and regards,
Dharm
--- Michael Kay <mike(_at_)saxonica(_dot_)com> wrote:

It's not the world's best error message, but my
guess would be that $myinfo
isn't a node-set. Perhaps it's a
result-tree-fragment, or a string.

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

-----Original Message-----
From: Dharm Baval [mailto:drm_xslt(_at_)yahoo(_dot_)com] 
Sent: 30 October 2004 15:20
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] XPath Error

Hi,

I am getting the following error when I run

#xsltproc test.xml


XPath error : Invalid type
runtime error: file http://my.com/myinfo.xsl line
221
element variable
Evaluating global variable   being computed ... 
failed

Please let me know what I have to do. 

The line 221 in myinfo.xsl is

<xsl:variable name="staff_table"
select="$myInfo/myinfo/myname/@play" />





            
_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download
now. 
http://messenger.yahoo.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>
--+--





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





                
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 


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