users@jaxb.java.net

jaxb2 handle CDATA content

From: moraleslos <moraleslos_at_hotmail.com>
Date: Wed, 7 Feb 2007 13:48:35 -0800 (PST)

I'm thinking about using jaxb2 to unmarshal an xml document into a Java
object and would like to know if it can handle elements that contain CDATA.
For example, can jaxb2 unmarshal this appropriately--

<root><sub-element><![CDATA[This is a test]]></sub-element></root>

Thanks in advance.

-los

-- 
View this message in context: http://www.nabble.com/jaxb2-handle-CDATA-content-tf3189816.html#a8854900
Sent from the java.net - jaxb users mailing list archive at Nabble.com.