ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] missing xml call
@ 2023-04-21 12:34 Hans van der Meer via ntg-context
  0 siblings, 0 replies; only message in thread
From: Hans van der Meer via ntg-context @ 2023-04-21 12:34 UTC (permalink / raw)
  To: NTG ConTeXt; +Cc: Hans van der Meer

[-- Attachment #1.1: Type: text/plain, Size: 640 bytes --]

\xmlatt{}{} has a counterpart \xmlattribute{}{LPATH}{} where one can start the search for the attribute at LPATH.
for \xmlchainatt{}{} I am missing such a counterpart \xmlchainattribute{}{LPATH}{} where one can do the same.

The problem now is that \xmlchainatt{#1}{att} always finds attribute att when it is defined on the node itself.
But consider the case where att="true" exists with the intention to trigger a search higher up in the call chain for that same attribute att.
Of course \xmlattribute{#1}{..}{att} is not exactly the same as \xmlchainattribute{#1}{..}{att} would be .

yours sincerely
dr. Hans van der Meer

[-- Attachment #1.2: Type: text/html, Size: 1270 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

If your question is of interest to others as well, please add an entry to the Wiki!

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-21 12:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-21 12:34 [NTG-context] missing xml call Hans van der Meer via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox