Hi,
1st of all: I could parse almost my complete xml file; I like the
performance of JiBX!
Question:
My xml file has the following struct:
<unip>
<entry>...</entry>
<entry>...</entry>
...
<copyright>...</copyright>
</unip>
I parse the <entry> into UniP.
uctx.parsePastStartTag( null, "unip");
while ( !uctx.isEnd()) {
Object obj = uctx.unmarshalElement();
UniP up = (UniP) obj;
System.out.println( i + " " + up.toString());
i++;
}
But after the last <entry> in the xml file this unmarshaling cycle find
one <copyright>text</copyright> tag =>> exception. After unmarshaling
several thousands of UniP objects I would like to unmarshal the
copyright into a 'CopyR' object. How can I do this?
Thank you in advance,
Tamas
--
Tamas Hegedus, PhD | phone: (1) 919-966 0329
UNC - Biochem & Biophys | fax: (1) 919-966 5178
5007A Thurston-Bowles Bldg | mailto:[EMAIL PROTECTED]
Chapel Hill, NC, 27599-7248 | http://biohegedus.org
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users