ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* issue with \xmlattribute{#1}{.}{id}
@ 2018-03-19 17:28 Pablo Rodriguez
  2018-03-19 20:29 ` (solved) " Pablo Rodriguez
  0 siblings, 1 reply; 2+ messages in thread
From: Pablo Rodriguez @ 2018-03-19 17:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* (solved) Re:  issue with \xmlattribute{#1}{.}{id}
  2018-03-19 17:28 issue with \xmlattribute{#1}{.}{id} Pablo Rodriguez
@ 2018-03-19 20:29 ` Pablo Rodriguez
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Rodriguez @ 2018-03-19 20:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
> 


-- 
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2018-03-19 20:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-19 17:28 issue with \xmlattribute{#1}{.}{id} Pablo Rodriguez
2018-03-19 20:29 ` (solved) " Pablo Rodriguez

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