On 8-3-2010 21:53, Hans van der Meer wrote:
Starting the typesetting in mkiv of xml data I cannot get a simple example working. I studied both the recent MyWay document and Hans Hagens xml-mkiv reference manual (especially page 11). From these I concocted the following simple test:
file typeset from TeXShop is dvd-setup.tex containing: \startxmlsetups xml:dvdsetups \xmlsetsetup{dvdsetups}{*}{-} \xmlsetsetup{dvdsetups}{dvd|title|subtitle}{xml:*} \stopxmlsetups
\xmlsetsetup{#1}{dvd|title|subtitle}{xml:*} (or dvd as that's what you use later) consider the #1 to be a sort of symbolic reference to the current node, in this case being the root of the document (which in your case is dvd) we can have many docs in memory either or not accessed explicitly Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------