On 09/25/2013 06:54 PM, Vic Steadman wrote:
Thank you once again for your past help but may I ask one more question.

Is it possible to include the value of the ID attribute in the footer?

No. You are limited to the {{XXX}} variables. See

http://www.xmlmind.com/ditac/_distrib/doc/manual/xsltParams.html#xsltParams__header_footer_spec






I tried changing my data to use the ID field as the topic title with the "real title" 
as <navtitle> and then placing {{topic-title}} in the footer.  I thought that setting 
loctitle = true would force the use of the navtitle in the body of the document, and so give 
the result I want,  but this does not work.


A locked navtitle is currently used:

* in the automatically generated TOC of the document.
* as a ``running header'' (which is what you want).

I've retested this and it works fine.

The variables which are used to specify ``running headers'' (or footers) are {{chapter-title}} and {{section1-title}}, not {{topic-title}}.

{{topic-title}} is substituted with the actual title of the topic and not by its navtitle.

Therefore if you use a bookmap, specify {{chapter-title}} and {{section1-title}} in your header/footer XSLT parameters.

And if you use a plain map, specify {{section1-title}} in your header/footer XSLT parameters. Note that with a plain map, the ``running header'' captures the text of only the topmost topics of the map (that is, ``section1'' topics).


--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to