[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: select-element and style-rule

Subject: Re: select-element and style-rule
From: Alain DESEINE <alain@xxxxxxxxxxx>
Date: Thu, 07 May 1998 22:52:07 +0200
select style
Lisa Pease wrote:
> 
> Does the MSXML processor support the combination of select-element and
> style-rule elements?
> 
> Here's the problem. I'm doing a list of Derby winners, and want to format
> triple crown winners in red. The page comes out fine except that my style
> rule indicating red for wherever the "tc" attribute is "yes" is ignored.
> Here's the XSL information:
> 
> [...]
> 
> <style-rule>
>  <target-element type="HORSE">
>   <attribute name="tc" value="yes"/>
>  </target-element>
>  <apply color="red"/>
> </style-rule>
> 
> [...]
> 
>  <TR><TD>Horse: </TD><TD color="black" font-style="italic">
>  <select-elements>
>   <target-element type="HORSE"/>
>  </select-elements>
>  </TD></TR>
> 
> [....]
> 
> Please help?? Thanks!

Perharps should you invert the rules order. I think you should do the
select-element first, and then the style-rule. If it don't work you can
use a construction rule with a DIV or SPAN flow object if your target is
HTML.

Hope this help

Alain From FRANCE.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.