> * In message <>
> * On the subject of "Re: [docbook-apps] Re: XSL customization"
> * Sent on Mon, 28 Apr 2003 09:49:54 -0700
> * Honorable Bob Stayton <> writes:
>
> So Sam needs to change his stylesheet file as follows:
>
> <xsl:template match="literal[@role = 'type' or @role = 'sexp']">
> <tt xmlns="http://www.w3.org/1999/xhtml" role="{@role}"><xsl:apply-templates/></tt>
> </xsl:template>
adding xmlns="http://www.w3.org/1999/xhtml" to each and every tag is
a mouthful (e.g., my user.footer.navigation is a table with 13 elements...)
is there a cheaper way?
> I still wonder if he means to use the invalid 'role' attribute
> in <tt> instead of 'class'. It needs to be 'class' if
> CSS is going to have an effect.
it's class, not role, of course!
--
Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html>
When C++ is your hammer, everything looks like a thumb.