RE: [xsl] XPath Error

Subject: RE: [xsl] XPath Error
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sat, 30 Oct 2004 16:32:47 +0100
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@xxxxxxxxx] 
> Sent: 30 October 2004 15:20
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> 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

Current Thread