Short answer is no! Have you checked out location attribute of bind-xml? 
http://www.castor.org/xml-mapping.html#3.5-The-<bind-xml>-element
http://www.castor.org/xml-mapping.html#6.-Location-attribute



-----Original Message-----
From: David Leangen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 09, 2004 10:38 PM
To: [EMAIL PROTECTED]
Subject: [castor-user] [XML] Ignoring XML tags




Is it NECESSARY to bind a Java object to EVERY XML tag?

In particular, if I have some type of XML:

<root>
  <containerList>
    <container>
      <object>something useful</object>
    <container>
       ...
  </containerList>
</root>


And if all I'm interested in is building a java.util.List of the objects
above, pretty much ignoring all the other elements, how would I go about
doing that without having to create Java objects for <containerList> and
<container>?


Thanks!



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to