ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* XML and references
@ 2006-04-03  0:51 Johannes Graumann
  2006-04-03  8:20 ` Taco Hoekwater
  2006-04-03  8:43 ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Johannes Graumann @ 2006-04-03  0:51 UTC (permalink / 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

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

end of thread, other threads:[~2006-04-03 15:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-03  0:51 XML and references Johannes Graumann
2006-04-03  8:20 ` Taco Hoekwater
2006-04-03  8:43 ` Hans Hagen
2006-04-03 15:27   ` Johannes Graumann

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