[NTG-context] XML and references

Johannes Graumann johannes_graumann at web.de
Mon Apr 3 02:51:20 CEST 2006


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




More information about the ntg-context mailing list