This is the mail archive of the
sgml-tools@via.ecp.fr
mailing list .
Re: Q: "style samples" with DocBook
- To: sgml-tools at via dot ecp dot fr
- Subject: Re: Q: "style samples" with DocBook
- From: Norman Walsh <ndw at nwalsh dot com>
- Date: Mon, 14 Feb 2000 07:06:18 -0500
- References: <388A83077EA@rkdvmks1.ngate.uni-regensburg.de>
- Reply-To: sgml-tools at via dot ecp dot fr
/ "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de> was heard to say:
| Is it really that hard?
|
| <simplelist>
| <member renderas=acronym>acronym</member>
| <member renderas=phrase>phrase</member>
That would be a stylesheet author's nightmare. Checking every element
for a renderas attribute? And doing something reasonable if asked to
renderas something unreasonable (<orderedlist renderas="chapter">...)
| I just want to create a summary for the style being used in the
| document. I wonder If I could use the role attribute with some
| contents like "renderas:phrase" to render the element as "phrase",
| but I really don't know how to do it in DSSSL.
How about simply:
<simplelist>
<member><acronym>acronym</acronym></member>
<member><phrase>phrase</phrase></member>
...
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | First time surrealists are often
http://nwalsh.com/ | confused by the similarities
| between fish and telephones.