![](https://secure.gravatar.com/avatar/be49110e195f5eac47c04570251121c1.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/be49110e195f5eac47c04570251121c1.jpg?s=120&d=mm&r=g)
Thanks. Just what I needed to suppress expansion of a node below a certain node level.
On 28 Aug 2018, at 22:17, mf
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
participants (2)
-
Hans van der Meer
-
mf