[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: id(..) to retrieve an 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|