[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: 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 <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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC