At 09:52 PM 2/8/2003 +0100, Simon Pepping wrote:
This is my hack, but it is awful because it relies on an exact number of expansions:
\expandafter\expandafter\expandafter\def \expandafter\expandafter\expandafter\!!stringa \expandafter\expandafter\expandafter{\csname XML:dat:#1\endcsname} \@EA\bTD\@EA\XMLDBcontinuepartrue\@EA\ignorespaces\!!stringa\eTD}
ah, the umlauts ... even if it would work out ok, it looks to ugly, so how about: \def\somethingsimon{blabla} \bTABLE \bTR\safeexpanded{\bTD\Aumlaut}\eTD\eTR \bTR\safeexpanded{\bTD\noexpand\somethingsimon\Aumlaut}\eTD\eTR \eTABLE with in enco-ini: \appendtoks \keepencodedtokens \to \everysafeexpanded and in syst-gen: \newtoks\everysafeexpanded \long\def\safeexpanded#1% {\begingroup \the\everysafeexpanded\long\xdef\@@expanded{\noexpand#1}% \endgroup \@@expanded} A more contexy alternative -) 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 -------------------------------------------------------------------------