Sunday, March 17, 2002 Michael Wiedmann wrote:


MW> - given an XML file with a line like
MW>   <ulink url="http://some.net";>...</ulink>
MW>   applying the follwoing:
MW>   \splitstring\XMLpar{ulink}{url}{}\at://\to\protocol\and\tail
MW>   does not work like expected. Instead I get the whole URL in \protocol
MW>   and \tail is mpty

Catcode problem, probably. What about the following:

\splitstring{\scantokens{\XMLpar{ulink}{url}{}}}\at://\to\protocol\and\tail

or

\expandafter\splitstring\expandafter{\scantokens{\XMLpar{ulink}{url}{}}}\at://\to\protocol\and\tail

--
Giuseppe "Oblomov" Bilotta

Reply via email to