Subject: Re: select-element and style-rule From: "Lisa Pease" <lisap@xxxxxxxxxxxxxxxxxxx> Date: Thu, 7 May 1998 14:55:51 -0700 |
I had tried inverting the style rule order - it had no effect. BUT - then I read on the MS site that you had to first define a default style for all elements, and when I included this first: <rule> <target-element/> <SPAN> <children/> </SPAN> </rule> the rest worked fine. -----Original Message----- From: Alain DESEINE <alain@xxxxxxxxxxx> To: xsl-list@xxxxxxxxxxxxxxxx <xsl-list@xxxxxxxxxxxxxxxx> Date: Thursday, May 07, 1998 1:47 PM Subject: 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 > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: select-element and style-rule, Alain DESEINE | Thread | Using <eval> to get a value for a f, Ed Burns |
Re: Using <eval> to get a value for, Chris Maden | Date | Invoking XSL construction rule usin, Amit Rekhi |
Month |