This is the mail archive of the sgml-tools@via.ecp.fr mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Q: "style samples" with DocBook


/ "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.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]