Wolfgang Schuster wrote:
On Fri, Jun 6, 2008 at 11:03 AM, Hans Hagen
wrote: Wolfgang Schuster wrote:
\startxmlsetups setup \xmlsetsetup{\xmldocument}{chapter/title}{chapter:title} \stopxmlsetups
\startxmlsetups chapter:title \chapter{\xmlflush{#1}} \stopxmlsetups
Just one more thing, how can I get the the id attribute from the chapter element as reference entry for \chapter.
\startxmlsetups chapter:title \expanded{\chapter[\xmlatt{#1}{id}]{\xmlflush{#1}}} \stopxmlsetups ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------