This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: generating context-dependant elements in source tree
- From: Norman Walsh <ndw at nwalsh dot com>
- To: qmax at sibmail dot ru
- Cc: Bob Stayton <bobs at caldera dot com>, docbook-apps at lists dot oasis-open dot org
- Date: Tue, 05 Nov 2002 07:30:54 -0500
- Subject: DOCBOOK-APPS: Re: generating context-dependant elements in source tree
- References: <20021027194114.GC3648@lair> <20021028000333.A21017@caldera.com><20021028114818.GA602@lair>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[ Follow-ups to docbook-apps, please ]
/ qmax <qmax@sibmail.ru> was heard to say:
| Trying to CREATE element <title> in a setion, an then pass
| a tree of section+title through the original docbook templates,
| to generate toc entries and all that stuff.
|
| I guess this should be done on two passes: first creating
| missed titles and other elements; and second transforming result
| of first pass into HTML, FO, or whatever.
Yes, if you have some semi-valid DocBook or some other markup that you
want to turn into DocBook so that the DocBook stylesheets can process
it, your best bet is a two-pass transformation.
With the exsl:node-set extension function, you can actually combine
both passes into a single run, if you don't have template matching
conflicts.
Be seeing you,
norm
- --
Norman Walsh <ndw@nwalsh.com> | A man must have grown old and
http://www.oasis-open.org/docbook/ | lived long in order to see how
Chair, DocBook Technical Committee | short life is.--Schopenhauer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>
iD8DBQE9x7n+OyltUcwYWjsRArdfAJ0R4HT4zqqiKHPGQzWpDFgnveuYxQCgk/eh
NzUp4zeil4kQacalgYnskew=
=YMJD
-----END PGP SIGNATURE-----