This is a different question from the "setLocationPath()" question.
I am now trying to figure out how to completely ignore a node (and all its
children) during unmarshalling.
In other words, in the following example:
<root>
<usefulNode>Useful information</usefulNode>
<irreleventNode>Irrelevant information</irrelevantNode>
</root>
I would like to obtain the useful information in <usefulNode>, but I just
want to skip over the unwanted information in <irrelevantNode>.
I tried setTransient(true), but this didn't do the trick.
Is there an easy way to skip over entire nodes (including children) like
this? Or would I have to implement some type of handler myself?
(For the children of unwanted nodes, can we just simply do nothing in the
start element event?)
Thanks again for all your help!! :-)
Dave
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user