[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: select-element and style-rule
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
|
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
|