Hi,

        i think it's not a valid xml - structure, and xerces will not
support this...

        insert an root element like <orders></orders> at the begin and end
        of the file...


> -----Urspr�ngliche Nachricht-----
> Von:  [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Gesendet am:  Mittwoch, 20. November 2002 09:26
> An:   [EMAIL PROTECTED]
> Betreff:      [castor-dev] unmarshalling + tips & tricks
> 
> Hi everyone.
> 
> I'm trying to find best way to unmarshalling xml file with multipe root
> (<order>) tags.
> My file has structure like this
> 
> --------- beginning of file ------
> <order>
> smth xml data
> </order>
> <order>
> smth xml data
> </order>
> <order>
> smth xml data
> </order>
> <diferent_kind_of_order>
> smth xml data
> </diferent_kind_of_order>
> ... etc ...
> ---------- end of file ------------
> 
> Is there any option in unmarshaller to unmarshall this structure?
> (returning
> unmarshalled table of objects or something)
> 
> or maybe the best way is to tokenize that file as a kind of XMLString and
> putting simple (single) orders to unmarshallers input ?
> 
> please answer if u have any (fast and optimal) sugesstions.
> My file size (with orders) is about 100 MB.
> 
> greetings
> danny
> 
> ----------------------------------------------------------- 
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>       unsubscribe castor-dev

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

Reply via email to