# [NTG-context] Test XML node registration

Hans Hagen j.hagen at xs4all.nl
Fri May 17 13:31:24 CEST 2019

```On 5/17/2019 10:28 AM, Hans van der Meer wrote:
> Having a series of nodes in setups in a helper module:
> \startxmlsetups xmlcommon:setups
> \xmlsetsetup{#1}{error|comment|... etcetera}{xmlcommon:*}
> \stopxmlsetups
> \xmlregistersetup{xmlcommon:setups}
>
> 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?
there is no such information

-----------------------------------------------------------------