ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Johannes Graumann <johannes_graumann@web.de>
Subject: XML and references
Date: Sun, 02 Apr 2006 17:51:20 -0700	[thread overview]
Message-ID: <e0prml$d9e$1@sea.gmane.org> (raw)

Hello all,

I'm trying to interpret something like
<section label="intro:mixtureprob">
  <title>The problem of the complex protein mixture</title>
  <content>
    <ref name="intro:mixtureprob"/>
  </content>
</section>

With the follwing mapping rules and am failing:
\defineXMLenvironment
  [section]
  {
  \defineXMLargument
    [title]
    [\XMLpar{section}{label}{}]
    {\section}
  \defineXMLenvironment
    [content]
    {}{}
  }
  {}
\defineXMLargument  
  [ref]
  {\textreference[\XMLpar{ref}{name}{}]}

I would appreciate any insight into my folly ...

Thanks, Joh

             reply	other threads:[~2006-04-03  0:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-03  0:51 Johannes Graumann [this message]
2006-04-03  8:20 ` Taco Hoekwater
2006-04-03  8:43 ` Hans Hagen
2006-04-03 15:27   ` Johannes Graumann

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='e0prml$d9e$1@sea.gmane.org' \
    --to=johannes_graumann@web.de \
    --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).