[NTG-context] parent of xml-node

Hans van der Meer havdmeer at ziggo.nl
Tue Aug 28 22:43:34 CEST 2018


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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180828/ba971513/attachment-0001.html>


More information about the ntg-context mailing list