users@jaxb.java.net

Re: XmlRootElement to influence tag-name? Or how to get rid of <AbstractClasss xmlns:xsi="..." xsi:type="DocumentType">

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Fri, 6 Mar 2009 14:10:07 +0100

Hi.

> I created a bunch of classes from the ogc kml-schema
> (used by Google Earth and Google Maps and found here:
> http://www.opengeospatial.org/standards/kml/ ).

By the way, there's the following project which deals with compiling
OGC schemas with JAXB:

https://ogc.dev.java.net/

I think it would make sense adding KML schemas there.

> So far so good, but as soon I want to marshal some objects into
> an xml/kml-file I get this output:

Would you please show your code? I think you may be composing your
object structure incorrectly.

Bye.
/lexi