This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]