|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xsl:variable with hex color values
> >Another solution to add to the list you've been given: In
> XSLT 2.0 you can
> >do
> >
> ><td bgcolor="{if (position() mod 2) then 'black' else 'white'}">
>
> I've tried the solution you've mentioned and got "Error loading
> stylesheet: Parsing an XPath expression failed".
Were you using an XSLT 2.0 processor?
Michael Kay
http://www.saxonica.com/
|
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
|

Cart








