#StackBounty: #java #xstream Find if a node exists in xtream api

Bounty: 50

I have a xml structure similar to following. I have converters to write each object A B and C. Is it possible in xtream to check if the a node exists in the xml hierarchy? i.e in below case I want to do something if B node exists before I write C. Thank you.

<A>
    <B>
        <C>
        </C>
    </B>
</A>    


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.