Nick Stolwijk wrote:
> I have the following XML structure to work with:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <document>
> <content>
> <section>
> <text>
> <html>
> <body>
> <p>This is a test<em>item.</em></p>
> </body>
> </html>
> </text>
> <subtitle>subtitel</subtitle>
> </section>
> </content>
> </document>
>
> And a Java class with a property name 'text'. After unmarshalling I want
> this property to contain all text within the body tag (so including the
> elements). Do I need to write a custom unmarshaller for this or is there
> already something which does this?
>
Looking back through the list archives, Kees de Kooter implemented an
ICharacterEscaper class to write the literal string
to the output stream. This would work better than my solution of
modifying the JiBX Code.
--
Thomas Jones-Low Softstart Services Inc.
[EMAIL PROTECTED] JobScheduler for Oracle
Ph: 802-398-1012 http://www.softstart.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users