ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* ConTeXt XML question
@ 2002-04-12 12:45 Tobias Burnus
  0 siblings, 0 replies; 15+ messages in thread
From: Tobias Burnus @ 2002-04-12 12:45 UTC (permalink / 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.


^ permalink raw reply	[flat|nested] 15+ messages in thread
* ConTeXt XML question
@ 2002-04-12 12:43 Tobias Burnus
  0 siblings, 0 replies; 15+ messages in thread
From: Tobias Burnus @ 2002-04-12 12:43 UTC (permalink / raw)


Hi,

I somehow have problems with \XMLpar

I have
 <url href="foo">bar</url>
 <url>http://www.bar</url>


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2002-04-15 13:16 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.44.0204121443200.28909-100000@mars.physik.fu-be rlin.de>
2002-04-12 13:56 ` ConTeXt XML question 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
2002-04-12 12:45 Tobias Burnus
  -- strict thread matches above, loose matches on Subject: below --
2002-04-12 12:43 Tobias Burnus

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).