![](https://secure.gravatar.com/avatar/29c7bbff49b1599eddb2ec73fd9ffa6e.jpg?s=120&d=mm&r=g)
18 Mar
2012
18 Mar
'12
8:16 a.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