atom feed8 messages in org.oasis-open.lists.docbook-appsRe: DOCBOOK-APPS: Picking up the book...
FromSent OnAttachments
Pete...@HypoVereinsbank.deApr 12, 2001 12:26 am 
Richard SharpeApr 12, 2001 1:23 am 
Dan YorkApr 12, 2001 7:33 am 
Norman WalshApr 15, 2001 4:58 am 
Norman WalshApr 15, 2001 4:58 am 
Richard SharpeApr 15, 2001 5:57 am 
Holger RauchApr 16, 2001 8:39 am 
Christopher R. MadenApr 16, 2001 8:44 am 
Subject:Re: DOCBOOK-APPS: Picking up the book title in a header element in theDSSSL?
From:Richard Sharpe (sha@ns.aus.com)
Date:Apr 15, 2001 5:57:37 am
List:org.oasis-open.lists.docbook-apps

At 07:55 AM 4/16/01 -0400, Norman Walsh wrote:

/ Richard Sharpe <sha@ns.aus.com> 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