Oh so, thanks Hans and Thomas! Maybe I've been sleeping too long. :-)
I'm going to setup luatex...

-Richard



From: Hans Hagen [mailto:pragma@wxs.nl]
To: mailing list for ConTeXt users [mailto:ntg-context@ntg.nl]
Sent: Fri, 05 Oct 2007 13:53:14 +0200
Subject: Re: [NTG-context] Problem with XML entities in titles [2]

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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________