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

RE: id(..) to retrieve an attribute value

Subject: RE: id(..) to retrieve an attribute value
From: David Schach <davidsch@xxxxxxxxxxxxx>
Date: Fri, 12 Feb 1999 08:46:14 -0800
xsl retrieve attribute value
IE5b2 doesn't support {} or id(). 

> -----Original Message-----
> From:	Gurgone [SMTP:gurgone@xxxxxx]
> Sent:	Friday, February 12, 1999 6:59 AM
> To:	xsl-list@xxxxxxxxxxxxxxxx
> Subject:	id(..) to retrieve an attribute value
> 
> hi all,
> I'm a newcomer
> I've a little problem:
> 
> I've this kind of .xml.....
> 
> <wall color"wall-color"/>
> <attribute id="wall-color" value="brown"/>
> ......
> 
> and I'd like to obtain.....
> 
> <body bgcolor="brown">
> .....
> </body>
> 
> I thought to do something like this...
> 
> <xsl:template match="wall">
>   <body bgcolor="{id(@color)/@value}">
>   .....
>   </body>
> </xsl:template>
> 
> but this is wrong.......how can I do it properly ??
> 
> thanx, Fabio
> 
> 
>  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.