This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: info on chunking needed
- To: Jakob <jakob at free dot fr>
- Subject: DOCBOOK: Re: info on chunking needed
- From: Norman Walsh <ndw at nwalsh dot com>
- Date: Tue, 13 Nov 2001 08:51:02 -0500
- Cc: Docbook Mailinglist <docbook at lists dot oasis-open dot org>
- List-id: <docbook.lists.oasis-open.org>
- References: <1005643870.3bf0e85e70fd5@imp3-1.free.fr>
[Get raw message]
[Follow-ups to docbook-apps, please]
/ Jakob <jakob@free.fr> was heard to say:
| I need to create a similar mechanism for another dtd (which I am not allowed to
| convert to dbk), so I would be grateful for any pointers to urls or
| explications on how this works in general. I am looking at the source, but it
| is admittedly rather complex. What is the main entry point for the chunking
| templates? Is there chunking support on several levels, and how does this work?
Start with chunk.xsl.
<xsl:template name="chunk">
Determines if an element is a chunk
<xsl:template match="*" mode="chunk-filename">
Returns a filename for a chunk
<xsl:template name="href.target">
Figures out what an appropriate HREF is for a target that may be in another chunk.
<xsl:template name="header.navigation">
<xsl:template name="footer.navigation">
Present some sort of navigation
<xsl:template name="chunk-first-section-with-parent">
<xsl:template name="chunk-all-top-level-sections">
<xsl:template name="chunk-no-sections">
<xsl:template name="chunk-element-content">
Handle common variations of chunking
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | Man's great misfortune is that he
http://www.oasis-open.org/docbook/ | has no organ, no kind of eyelid or
Chair, DocBook Technical Committee | brake, to mask or block a thought,
| or all thought, when he wants
| to.--Val\'ery
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>