[Home] [By Thread] [By Date] [Recent Entries]


/ "J. David Eisenberg" <catcode@c...> was heard to say:
| I think this is the same kind of problem I found when I was trying to 
| convert some XHTML strict to XSL-FO.  The post is at
|
|   http://groups.yahoo.com/group/XSL-FO/message/2139
|
| (essentially, how do I map <p class="important warning">...</p> to an 
| equivalent XSL-FO without parsing a stylesheet, or equally ugly, the
| class attribute.) 

Uhm,

<xsl:template match="p[@class='important warning']">
  ...
</xsl:template>

But you must have wanted something more subtle than that...

                                        Be seeing you,
                                          norm

-- 
Norman.Walsh@S...    | How is the world ruled and how do wars start?
XML Standards Architect | Diplomats tell lies to journalists and then
Sun Microsystems, Inc.  | believe what they read.--Karl Kraus

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member