ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Tobias Burnus <tobias.burnus@physik.fu-berlin.de>
Subject: ConTeXt XML question
Date: Fri, 12 Apr 2002 14:45:02 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0204121443200.28909-100000@mars.physik.fu-berlin.de> (raw)

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	other threads:[~2002-04-12 12:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-12 12:45 Tobias Burnus [this message]
     [not found] <Pine.LNX.4.44.0204121443200.28909-100000@mars.physik.fu-be rlin.de>
2002-04-12 13:56 ` Hans Hagen
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
  -- 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=Pine.LNX.4.44.0204121443200.28909-100000@mars.physik.fu-berlin.de \
    --to=tobias.burnus@physik.fu-berlin.de \
    /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).