Is it possible to output tree items according to their flag?


i have xml for tree like this:

<item text="Digi" id="93569" in_price="1">
      <item text="Aiptek Hyper Pen 12000 USB" id="93570" in_price="0"/>
      <item text="Aiptek Hyper Pen 8000 USB Pro" id="93571" in_price="0"/>

where in_price is flag, if in_price=1 my tree should show item, if not shouldn’t. Please advise how can it be done.

Thank you.


Unfortunately there is no easy way.
Hacking xml parsing engine is very complicated task. Its much simplier to create the ready to use xml on server side.

It’s clear.