Jaroslav Snajdr <[EMAIL PROTECTED]> writes:
> Pushing and popping cannot cope with chapter content. Now I do this:
>
> \defineXMLcommand[chapter]{\let\DBtitle=\chapter}
> \defineXMLargument[title]{\DBtitle}
>
> But I'm a bit afraid what will happen when I come to support tag
> arguments or other things.
Perhaps do something like this:
\defineXMLcommand[chapter]
{\global\defineXMLcommand[title]{..}{..}}
So you redefine the action for title based on
chapter/section/etc. Title can be defined more or less according to
the code in the manual I assume.
(not sure if the global is needed)
--
Groetjes,
Berend. (-: