This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: toc generation
- To: Bob Stayton <bobs at caldera dot com>
- Subject: Re: DOCBOOK-APPS: toc generation
- From: Gerrit Kuilder <gkuilder at portalyx dot com>
- Date: Mon, 22 Oct 2001 21:58:25 +0200
- Cc: docbook-apps at lists dot oasis-open dot org
- List-Id: <docbook-apps.lists.oasis-open.org>
- Organization: Portalyx BV
- References: <10110221228.aa28940@mammoth.ca.caldera.com>
Hello All,
Bob Stayton wrote:
> > I will see how far I get but maybe someone has allready done something
> > and is willing to share.
> >
> > I need to link to and fro through ID/IDREF.
Have sofar come up with something that I can work with although it still
needs work and refinement.
> Well, you can't do much better than Norm's XSL stylesheets
> for examples. Granted, they aren't exactly simple, but they
> are well designed and implemented.
>
> His approach is to generate the TOC when the document is
> processed for output, and the TOC goes to the output as
> well. It never exists as generated XML with ID/IDREF.
> Rather, for HTML output it is <a name="foo"> and <a
> href="#foo">. Similar output for FO output using the FO
> linking mechanism.
I am pretty impressed with Norm's work but my needs are different for my
ToC's.
The software I am using XSLT for/ with is capable of importing xml and working
with the tags and attributes for formatting. and cross referencing.
(Xyenterprise, Xml Professional Publisher ) As documents can be edited a lot I
think a safer approach would be to generate the ToC at the moment it is
getting published.
> If you want to generate an XML TOC, you could still model
> your stylesheet using his methods but outputing
> XML elements instead.
So far so good, I still have a lot to learn about XSLT but now I have the toc
generation going for a bit (and have done some other transormations) I can see
the power of it.
I will probably be looking through Norms work a lot and I can also see that
it will be a long way before I can get close to his level.
Regards,
Gerrit Kuilder
>
>
> bobs
> Bob Stayton 400 Encinal Street
> Publications Architect Santa Cruz, CA 95060
> Technical Publications voice: (831) 427-7796
> Caldera International, Inc. fax: (831) 429-1887
> email: bobs@caldera.com
>
> ----------------------------------------------------------------
> To subscribe or unsubscribe from this elist use the subscription
> manager: <http://lists.oasis-open.org/ob/adm.pl>
--
-------------------------------------------------------------------------
Gerrit Kuilder | Tel: +31 (0)20 620 2349
Portalyx b.v. | Fax: +31 (0)20 421 0064
Windroosplein 110 | Mobile: +31 (0)621 841 360
1018 ZW Amsterdam | E-mail: support@portalyx.com
The Netherlands | Web: http://www.portalyx.com
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>