Howdy everyone,
I'm struggling with an XMLListCollection filter function. My xml is similarly
structured to this:
<node>
<node>
<node/>
<node/>
</node>
<node>
<node/>
<node/>
</node>
<node>
It consists of a root node, with zero or more child nodes. The child nodes
could also have zero or more child nodes. Basically it's your run of the mill
xml. =P
I'm looking for a filter function which allows me to view a single child
branch. In other words filter out all but a particular child node and it's
children. Effectively it would turn the view into this:
<node>
<node/>
<node/>
</node>
The goal is to keep the original xml unaltered, while creating a view of a
child node that appears to be the root. The view will then be applied to
several components. Although I've struggled with with it, a filter seems like
the simplest way to go. I'd greatly appreciate any suggestions.
Thanks,
Aaron