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

RE: another simple problem...

Subject: RE: another simple problem...
From: "Nick-Lawson.org" <nick@xxxxxxxxxxxxxxx>
Date: Tue, 17 Oct 2000 05:07:54 +0100
goddard problem simpel
If you want $file to be the admin _node_:

    <xsl:variable name="file" select="."/>

and if you want $file to be the "admin" _string_:

    <xsl:variable name="file" select="name()"/>

Nick

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of B. DEXHEIMER
> Sent: 16 October 2000 17:02
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: another simple problem...
> 
> 
> Hi People !
> 
> I have the following piece of code :
> 
> <xsl:variable name="file">out</xsl:variable>
> ...
> <xsl:template match="ADMIN">
>   <xsl:variable name="file">
>     /* what I want to do is : file <- "ADMIN", ie the xsl variable
> "file" receives "ADMIN", the node matching
>     element, as a new value instead of "out" but I do not want to write
> "ADMIN" explicitely... the new value must be referred dynamically to the
> upper node mentionned in the match instruction*/
>   </xsl:variable>
> 
> How could I do that ?
> 
> Thanx for your Help!
> 
> BeNjamin.
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.