[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XPath Error

Subject: Re: XPath Error
From: Dharm Baval <drm_xslt@xxxxxxxxx>
Date: Sun, 31 Oct 2004 01:57:24 -0800 (PST)
xsl variable contains
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.