This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Lifting xml values to use as html attributes / rendering data to html
- From: "Tim King" <tim at 2sms dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 2 Jul 2002 10:38:04 +0100
- Subject: RE: [xsl] Lifting xml values to use as html attributes / rendering data to html
- Reply-to: xsl-list at lists dot mulberrytech dot com
Will give it a go. Many thanks.
Free credits for you at www.2sms.com if you can use them. My way of
saying thank-you. Email me if you need more.
Tim.
-----Original Message-----
From: Conal Tuohy [mailto:conalt@paradise.net.nz]
Sent: 02 July 2002 09:41
To: xsl-list@lists.mulberrytech.com
Subject: RE: [xsl] Lifting xml values to use as html attributes /
rendering data to html
Tim wrote:
<snip/>
> <td bgcolor="<value of navcolor>"></td>
>
> Is it possible to pass XML values as attributes for html tags?
>
>
> Many thanks,
>
> Tim.
> tim@2sms.com
"Attribute Value Templates" are what you're after.
http://www.dpawson.co.uk/xsl/sect2/N1575.html
<td bgcolor="(@navcolor/text()}"> I think should do it.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list