You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Jason Russ <JR...@Korson-McGregor.com> on 2000/11/21 20:36:25 UTC

XML name of class

Is there a way to set the element name of a class
that is marshaled by Castor XML?

Example Class

package org.acme;
class MyClass {....}

Example mapping

<mapping>
<class name="org.acme.MyClass">
......
</class>
</mapping>

This generates:

<org.acme.-my-class>
.....
</org.acme.-my-class>

I would like to be able to set the name to something
like:

<myClass>
....
</myClass>

Is this what the identity tag is used for?

Thanks in advance,
Jason