From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/7624 Path: main.gmane.org!not-for-mail From: Tobias Burnus Newsgroups: gmane.comp.tex.context Subject: ConTeXt XML question Date: Fri, 12 Apr 2002 14:45:02 +0200 (CEST) Sender: owner-ntg-context@let.uu.nl Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1035398075 20772 80.91.224.250 (23 Oct 2002 18:34:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:34:35 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:7624 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:7624 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 bar http://www.bar 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 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.