Hi,

(Sorry for the only half send text I had mailer problems. I did a copy and
past, but there must have been a ^X somewhere in between.)

I somehow have problems with \XMLpar

I have
 <url href="foo">bar</url>
 <url>http://www.bar</url>
In the first  case I want to get a link with the destination given in
href.
In the second case I want to get a link with the same destination as the
<url> enclosed text.
But I get in both cases HREF:foo. If I switch the order I get "XXXX" and
then "foo"which I had expected. (ConTeXt  ver: 2002.3.4)

I tried:
\def\Url[#1]#2{{HREF:#1 URL:#2}}
\defineXMLargument[url]{\Url[\XMLpar{url}{href}{XXXX}]}

Tobias

-- 
This above all: To thine own self be true / And it must follow as
the night the day / Thou canst not then be false to any man.

Reply via email to