RE: [xsl] XPath Error

Subject: RE: [xsl] XPath Error
From: Dharm Baval <drm_xslt@xxxxxxxxx>
Date: Sun, 31 Oct 2004 00:22:25 -0700 (PDT)
Hi,

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

Thanks and regards,
Dharm
--- Michael Kay <mike@xxxxxxxxxxxx> 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@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
> 
> 



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

Current Thread