[NTG-context] Test XML node registration

Hans van der Meer havdmeer at ziggo.nl
Fri May 17 10:28:26 CEST 2019

Having a series of nodes in setups in a helper module:
\startxmlsetups xmlcommon:setups
	\xmlsetsetup{#1}{error|comment|... etcetera}{xmlcommon:*}

I would like to check if a certain node is in that series of nodes. For example doing \doifelse{\xmltag{#1}}... where the true branch is taken when \xmltag{#1} is one of those registered in the xmlcommon:setups.

Is that possible? Then what macro has to be called?

dr. Hans van der Meer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190517/8f90801f/attachment.html>

More information about the ntg-context mailing list