Next in thread → Next in month →

Re: DOCBOOK-APPS: Picking up the book title in a header element in theDSSSL?

From
Richard Sharpe <>
Date
2001-04-15T12:57:59+00:00
ID
[email protected]
Thread
Re: DOCBOOK-APPS: Picking up the book title in a header element in theDSSSL?
At 07:55 AM 4/16/01 -0400, Norman Walsh wrote:
>/ Richard Sharpe <> was heard to say:
>| I can half see how to do this in DSSSL, but wondered if someone could give
>| me a solid pointer.
>
>Look at the templates in print/dbcompon.dsl that handle headers and
>footers. A little tree-walking from the point of insertion should allow
>you to extract the book title and subtitle fairly easily.

Yes, indeed ... Unfortunately, I do not understand enough about the
structure of the tree to get there.

I tried using sgml-tree-root or some such, but that was a dismal failure.

How do I get from the current-node to, say, the top of the tree, which is
where I imagine I can do something like (select-elements (top-of-tree)
(normalize "title")) and also for subtitle ...

>                                        Be seeing you,
>                                          norm


Regards
-------
Richard Sharpe, 
Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba
Next in thread → Next in month →