Hi Guys,

I have a xml document in which the end result is a table representation of
it in the form of 2 col x n rows. I have no problem generating this using
the example given in the faq but the tricky part is I need to omit certain
child elements in the xml doc. For eg :

<parent>
    <child id="1"/>
   <child id="2"/>
   <child id="3"/>
   <child id="4"/>
   <child id="5"/>
   <child id="6"/>
</parent>

Let's say child id of 2 and 3 are to be omitted to yield a table below :

<table>
    <tr>
    <td>child id 1</td>
    <td>child id 4</td>
    </tr>
    <tr>
    <td>child id 5</td>
    <td>child id 6</td>
    </tr>
</table>

How should I go about doing this? Thanks!

Regards
Vincent


Reply via email to