I am trying to parse an XML document that consists of multiple
namespaces, as in:
<pre>
<eec:attr>
<eec:title>Summary List of samples</eec:title>
<eec:name>samples_list</eec:name>
<eec:type>textarea</eec:type>
<eec:value><p>Nd<sub>2</sub>F<sub>14</sub>B</p></eec:value>
</eec:attr>
</pre>
I want to map the "eec:" namespace into a java object, but I want JAXB
to leave the empty namespace (xhtml) as a single string. ie. the
entire piece of xhtml in the "eec:value" element should be the value
of a single JAXB object property.
It seems like I'm supposed to create my own JAXB XmlAdapter, but I'm
completely unfamiliar with the JAXB API. Can anyone point me to the
right place to start?
Message was edited by: bleathem
[Message sent by forum member 'bleathem' (
bleathem@...)]
http://forums.java.net/jive/thread.jspa?messageID=370573---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...