[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Lifting xml values to use as html attributes / rendering data to html


Subject: RE: [xsl] Lifting xml values to use as html attributes / rendering data to html
From: "Conal Tuohy" <conalt@xxxxxxxxxxxxxxx>
Date: Tue, 2 Jul 2002 20:41:22 +1200

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@xxxxxxxx

"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



Current Thread
Keywords
xml