This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Re: XSL customization
> * In message <20030428094954 dot C21621 at sco dot com>
> * On the subject of "Re: [docbook-apps] Re: XSL customization"
> * Sent on Mon, 28 Apr 2003 09:49:54 -0700
> * Honorable Bob Stayton <bobs at sco dot com> writes:
>
> So Sam needs to change his stylesheet file as follows:
>
> <xsl:template match="literal[ at role = 'type' or @role = 'sexp']">
> <tt xmlns="http://www.w3.org/1999/xhtml" role="{ at 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.
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org