From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: ConTeXt XML question
Date: Fri, 12 Apr 2002 15:56:18 +0200 [thread overview]
Message-ID: <5.1.0.14.1.20020412155531.02d66008@server-1> (raw)
In-Reply-To: <Pine.LNX.4.44.0204121443200.28909-100000@mars.physik.fu-be rlin.de>
At 02:45 PM 4/12/2002 +0200, you wrote:
>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}]}
\define...[url]{\expanded{\URL....}..
so, by expanding you fix the values
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
-------------------------------------------------------------------------
next parent reply other threads:[~2002-04-12 13:56 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.44.0204121443200.28909-100000@mars.physik.fu-be rlin.de>
2002-04-12 13:56 ` Hans Hagen [this message]
2002-04-12 14:45 ` Tobias Burnus
2002-04-12 15:13 ` Hans Hagen
2002-04-12 16:08 ` Tobias Burnus
2002-04-13 18:29 ` Hans Hagen
2002-04-14 14:13 ` Tobias Burnus
2002-04-14 15:19 ` Tobias Burnus
2002-04-14 20:17 ` Hans Hagen
2002-04-14 20:15 ` Hans Hagen
2002-04-12 19:02 ` Michael Wiedmann
2002-04-13 19:11 ` Hans Hagen
2002-04-15 13:16 ` Slawek Zak
2002-04-15 9:37 ` Nigel King
2002-04-12 12:45 Tobias Burnus
-- strict thread matches above, loose matches on Subject: below --
2002-04-12 12:43 Tobias Burnus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.1.0.14.1.20020412155531.02d66008@server-1 \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).