At 22:55 06/06/2003 +0200, you wrote:
\defineXMLenvironment [var] {\xdef\varname{\XMLpar{var}{name}{blah}} \NC \varname \NC } {\NC\NR }
Hah! Now it works like charm :-) Thanks Simon!
or better: \defineXMLenvironment [var] {\expanded {\NC \XMLpar {var} {name}} \NC} {\NC \NR} since you need the expanded value in a collected content like tabulate Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------