6 Oct
1999
6 Oct
'99
4:14 p.m.
At 04:02 PM 10/6/99 +0100, Phil Harris wrote:
<dtml-tree test_xml> <dtml-var getTagName> </dtml-tree>
Show's a tree of the tagnames, (easy enough to change what is shown for each tag).
However I only want the <header>'s to show up in the tree, at the moment all of the items are being rendered in the tree.
Any Ideas.
try using: <dtml-tree test_xml branches_expr="someDOMexprtosearchfortagslike('header')"> Where 'someDOMexprtosearchfortagslike('header')' should be changed to the appropriate XML DOM expression to be called on each tag that will return a list of subtags whose type is 'header'. :)