I'm pretty sure there is some JAXB expertise in the Java Posse community, so here goes...
I am trying to parse an XML document that consists of multiple namespaces, as in: <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> 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? Thanks, Brian Leathem --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---
