Thanks. Just what I needed to suppress expansion of a node below a certain node level.

On 28 Aug 2018, at 22:17, mf <massifr@fastwebnet.it> wrote:


With \xmltag{#1} one can find the identity of the current node. But
how can I find the tag of the parent node?

dr. Hans van der Meer

\xmltext{#1}{../tag()}

___________________________________________________________________________________
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
___________________________________________________________________________________

dr. Hans van der Meer