Mark,
Have you tried the following?
<elementBinding name="paymentDetails">
<attributeBinding name="action">
<member name="paymentActionType"/>
<java-class name="paymentActionType"/>
</attributeBinding>
</elementBinding>
--Keith
Mark T. Lomongo wrote:
Guys,
I’m generating castor objects from an xsd and it the xsd has several
element and attribute name conflict. I used a binding file and it
worked well for the elements but not for the attribute. Tried several
combinations of attributeBinding to no avail. Thanks.
Mark
Binding file snippet
<elementBinding name="BankAccount_FR"> <!—works well
for element name conflictà
<java-class name="BankAccount_FRType"/>
</elementBinding>
<elementBinding name="paymentDetails"> <!—changes
the variable name but not the typeà
<attributeBinding name="action">
<member name="paymentActionType"/>
</attributeBinding>
</elementBinding>
<attributeBinding name="[EMAIL PROTECTED]"> <!—no effectà
<member name="paymentActionTypess"/>
</attributeBinding>
<attributeBinding name="//paymentDetails/@action"> <!—no effectà
<java-class name="paymentActionType"/>
</attributeBinding>
-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------