Angel, did you think about utilizing the DomElementMapper from the org.jibx.extras package to (un)marshal the XmlResultSet? Or has that nothing to do with DOM?
Tilman > > The better way of handling this is with a custom marshaller/unmarshaller > for your XmlResultSet, where you can work at the level of elements, > attributes, and character data, and JiBX will handle the XML details for > you. > That way you'll be able to unmarshal the data back to objects, too, > while if you just write it out there's no way for JiBX to unmarshal it > for you. > > - Dennis > > ÎÎÎÎÎÎÏ ÎÎÏÎÎÏÎÎÎÎÏ wrote: > > >Would that explain this ? > > > ><?xml version="1.0" encoding="UTF-8"?> > ><dresp-message> > > <class-name>gr.talent.messaging.message.DataResponseMessage</class-name> > > <user-hash/> > > <data><result-set > >row-count='1'><row><l_code01>A1280000</l_code01><lab > >elname>Î?Î-ÎÂÎ.ÎÂÎÂ > >Î>Î.ÎÂÎÂ.</labelname><streettype>AVE.</streettype><r_el > >ta>14578</r_elta><length>134.772</length><r_code01&g > >t;A1610000</r_code01><r_code91>A2110100</r_code91><clas > >s_id>3</class_id><l_code91>A2100800</l_code91><l_elt > >a>14671</l_elta><avenue_id>3</avenue_id></row>< > >;/result-set></data> > > <recordCount>1</recordCount> > ></dresp-message> > > > >.. within the DataResponseMessage class - which is marshalled using JiBX - > >there is an XmlResultSet class which I serialize myself, but I've set my > >encoding to be the Greek character set. Would that explain the < instead > >of "<" etc. and the garbled Greek string values in the xml ? > > ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ jibx-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jibx-users
