[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: RE: DOCBOOK-APPS: Stylesheet for remapping/renaming elements
Mike, When you use an article with sections as the basis for a help system, do you also modify the chunk and htmlhelp stylesheets so that all sections chunk? <article> <!-- chunk 1 --> <title>Welcome</title> <para>blah</para> <!-- chunk 2 --> <section> <title>section</title> <para>blah</para> <!-- I want a chunk here --> <section> <title>subsection</title> <para>blah</para> <!-- And maybe even a chunk here --> <section> <title>subsubsect</title> <para>blah</para> </section> </section> </section> </article> I'm asking because I hacked away at the chunk and htmlhelp stylesheets for a while trying to get all sections to chunk, but without much luck--I'd get one part or another to work, but not everything at once. Is there a hidden chunk.subsection.depth parameter somewhere that I'd missed? Thanks, David P.S. I'm still catching up on that "A straw proposal for help topics in DocBook" thread on docbook, so if this subject was discussed there, I may not have gotten to it yet. > -----Original Message----- > From: Michael Smith [mailto:smith@xml-doc.org] > Sent: Thursday, November 01, 2001 3:26 AM > To: docbook-apps@lists.oasis-open.org > Subject: DOCBOOK-APPS: Stylesheet for remapping/renaming elements > > > Nik Clayton mentioned a way to remap DocBook elements to other element > names -- that is, to take something like this: > > <helpproject status="draft" remap="article"> > ... > <topic revisionflag="changed" remap="section"> > ... > </topic> > </helpproject> > > and turn it into this: > > <article status="draft"> > ... > <section revisionflag="changed"> > ... > </section> > </article>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC