At 02:00 PM 6/21/2002 +0200, Taco Hoekwater wrote:
>Hi Hans, all,
>
>This is a speed patch for the XML attribute parser:
will look into it (seems like you removed some erro recovery, which is ok
since input is assumed to be ok)
\def\dodoparseXMLargumentsX#1=#2{%
> \edef\@@XMLname{\the\XMLtoks#1}%
> \@EA\getXMLNSSSS\@@XMLname :\relax
> \XMLtoks\emptytoks
> \if#2"%
> \let\dodoparseXMLarguments\dodoparseXMLargumentsD
> \else
> \let\dodoparseXMLarguments\dodoparseXMLargumentsS
> \fi
> \dodoparseXMLarguments
>}
then, talking about speed, how about
\if#2"%
\expandafter\dodoparseXMLargumentsD
\else
\expandafter\dodoparseXMLargumentsS
\fi
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
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
-------------------------------------------------------------------------