This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Re: DSSSL/XSL: act on an attribute and then do the usual thing?
> * In message <3EBFD9A1.3080100@kosek.cz>
> * On the subject of "Re: Re: DSSSL/XSL: act on an attribute and then do the usual thing?"
> * Sent on Mon, 12 May 2003 19:28:01 +0200
> * Honorable Jirka Kosek <jirka@kosek.cz> writes:
>
> Sam Steingold wrote:
>
> >>use next-match instead of
> >>now-transform-the-original-quote-the-standard-way-as-if-there-was-no-role
> > (element quote
> > (let ((role (attribute-string (normalize "role"))))
> > (case role
> > (("pacakge")
> > (make element gi: "STRONG" attributes: (list (list "CLASS" role))
> > (next-match)))
> > (else (next-match)))))
> > does not work.
>
> Sorry, my DSSSL knowledge is very shallow. Any error message, or it just
> simply doesn't work?
no error message, the output HTML does not have <strong role="package">:
I get:
Symbols in the Package <A
HREF="http://www.lisp.org/HyperSpec/Body/sec_11-1-2-1.html"
TARGET="_top"
><SPAN
CLASS="QUOTE"
>"COMMON-LISP"</SPAN
></A
>
instead of
Symbols in the Package <a href="http://www.lisp.org/HyperSpec/Body/sec_11-1-2-1.html" target="_top"><strong class="package">âCOMMON-LISPâ</strong></a>
with XSL.
--
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>
A professor is someone who talks in someone else's sleep.
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org