# [NTG-context] issue with \xmlattribute{#1}{.}{id}

Pablo Rodriguez oinos at gmx.es
Mon Mar 19 18:28:25 CET 2018

```Dear list,

in an environment to parse an XML document, I use
\reference[\xmlattribute{#1}{.}{id}].

Since it doesn’t do what I need, I checked the pure command
"\xmlattribute{#1}{.}{id}".

>From id="spieker-weiss" and id="computer-mind", I get
"spieker-weissmain::4103" and "computers-mindmain::4384".

What am I missing there or how could I get pure identifiers with no
"main::9999" suffix?