Hi!
  I have a xml contains such data:

<isodocs>
    <doc category="jpg">
            <name>14_84_1.jpg</name>
            <description>a nice pic</description>
            <location>14_84_1.jpg</location>
    </doc>
    <doc category="jpg">
            <name>847_2.jpg</name>
            <description>a dog and a cat</description>
            <location>847_2.jpg</location>
    </doc>
    <doc category="bmp">
            <name>14_84_1.bmp</name>
            <description>this is a bmp</description>
            <location>14_84_1.jpg</location>
    </doc>
    <doc category="bmp">
            <name>14_84_2.bmp</name>
            <description>this is another bmp</description>
            <location>14_84_1.jpg</location>
    </doc>
</isodocs>

How can I let only those items whose category="jpg" be showed ?

Thanks a lot!

best regards
-- 
funing <[EMAIL PROTECTED]>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to