18 Mar
2012
18 Mar
'12
2:16 p.m.
Is there a single macro/setup that walks the xml-tree, visiting each node? Either in preorder, inorder or postorder? Thus instead of: \xmlfilter{#1}{./command(xml:thecommand)} \xmlfilter{#1}{./*/command(xml:thecommand)} \xmlfilter{#1}{./*/*/command(xml:thecommand)} \xmlfilter{#1}{./*/*/command(xml:thecommand)} \xmlfilter{#1}{./*/*/*/command(xml:thecommand)} etc. doing this exhaustively with a single \xmlfiltertree{#1}{./command(xml:thecommand)} Hans van der Meer