Richard Gabriel wrote:
Hans,
\xmlsetsetups throws "Undefined control sequence"...
as said ...
in mkiv ... this becomes:
so you need luatex btw, you can then also do things like: \xmlfirst{#1}{b[position() > 2 and position() < 5 and text() == 'ok']} \xmlfirst{#1}{b[position() > 2 and position() < 5 and text() == upper('ok')]} \xmlfirst{#1}{b[@n=='03' or @n=='08']} \xmlall {#1}{b[number(@n)>2 and number(@n)<6]} \xmlfirst{#1}{b[find(text(),'ALSO')]} and other complex path stuff 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 -----------------------------------------------------------------