This is the mail archive of the
sgml-tools@via.ecp.fr
mailing list .
Re: Q: "style samples" with DocBook
- To: Norman Walsh <ndw at nwalsh dot com>, sgml-tools at via dot ecp dot fr
- Subject: Re: Q: "style samples" with DocBook
- From: "Ulrich Windl" <Ulrich dot Windl at rz dot uni-regensburg dot de>
- Date: Mon, 14 Feb 2000 13:24:16 +0100
- Organization: Universitaet Regensburg, Klinikum
- References: "Ulrich Windl"'s message of "Mon, 14 Feb 2000 08:09:17 +0100"
- Reply-To: sgml-tools at via dot ecp dot fr
On 14 Feb 00, at 7:06, Norman Walsh wrote:
> / "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>
Almost, but it's getting more complicated for <procedure>,
<programlisting>, <blockquote>, etc (non-inline elements)
(Assuming the assigned style does not enforce non-inline rendering)
Regards,
Ulrich