This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: generating context-dependant elements in source tree


-----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-----


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