Richard Gabriel wrote:
Hello once again,
I've puzzled my brain for a while ;-) and then I came to the following solution:
\def\ExChapter#1{ \expanded{\chapter{#1}} }
\defineXMLcommand[chapter]{ \defineXMLargument[title]\ExChapter }
in mkiv ... this becomes: (1) register handler in setup ssection \xmlsetsetups {main} {chapter} {*} (2) access child element using lpath \startxmlsetups chapter \expanded{\chapter{ \xmlfirst{#1}{title} }} \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 -----------------------------------------------------------------