Re: [xsl] XPath Error

Subject: Re: [xsl] XPath Error
From: Dharm Baval <drm_xslt@xxxxxxxxx>
Date: Sun, 31 Oct 2004 01:57:24 -0800 (PST)
Hi,

 I think you are asking this!


<xsl:variable name="myInfo">
        <xsl:copy-of select="/page/myinfo" />
</xsl:variable>

Thanks and Regards,
Dharm

--- Geert Josten <Geert.Josten@xxxxxxxxxxx> wrote:

>  > Thanks for the reply. Can you let me know how to
> find
>  > out this one?
> 
> <xsl:variable name="myInfo" select="'some string'"
> />
>   --> variable contains data type String
> 
> <xsl:variable name="myInfo" select="1" />
>   --> variable contains data type Number
> 
> <xsl:variable name="myInfo" select="true()" />
>   --> variable contains data type Boolean
> 
> <xsl:variable name="myInfo"
> select="*[not(self::blabla)]" />
>   --> variable contains data type NodeSet
> 
> 
> All following examples give a document fragment
> tree:
> 
>    <xsl:variable name="myInfo">some
> string</xsl:variable>
> 
>    <xsl:variable name="myInfo">1</xsl:variable>
> 
>    <xsl:variable name="myInfo">
>      <xsl:value-of select="true()" /> <!-- Note: the
> boolean is converted to a string! -->
>    </xsl:variable>
> 
>    <xsl:variable name="myInfo">
>      <xsl:copy-of select="*[not[self::blabla]" />
>    </xsl:variable>
> 
> (That is why I asked for the line that defines
> myInfo :)
> 
> Grtz,
> Geert
> 
> 



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

Current Thread