issue with \xmlattribute{#1}{.}{id}
![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
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? Many thanks for your help, Pablo -- http://www.ousia.tk
![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
Sorry for the noise. My approach was totally wrong. Pablo On 03/19/2018 06:28 PM, Pablo Rodriguez wrote:
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?
Many thanks for your help,
Pablo
participants (1)
-
Pablo Rodriguez