My mapping.xml has the following :

    <class name="com.bglobal.delta.data.Plan">
        <field name="id" type="java.lang.String">
            <bind-xml name="obj_id" node="attribute" QName-prefix="dctm"/>
        </field>
        .
        .
        .
Marshalling the Plan bean (not generated using source generator)  using
Marshal.setNamespaceMapping("dctm", "my uri") I get
        <plan obj_id="90890898978" xmlns:dctm="my uri">

But what I really want as output is 
        <plan dctm:obj_id="90890898978" xmlns:dctm="my uri">

Is it possible for me to get the above output ? - other than using regexp on
my first output :)

Any help would be appreciated.
Dinesh

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to