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