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]

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


At 07:55 AM 4/16/01 -0400, Norman Walsh wrote:
>/ Richard Sharpe <sharpe@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
-------
Richard Sharpe, sharpe@ns.aus.com
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



------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


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