Well, I finally got my hands on a schema for this.  And since I still haven't
figured out a way to do what I am trying to do, I thought I would post the
segment.  

Schema:
        <xs:complexType name="OthrNamesType">
                <xs:sequence>
                        <xs:element name="OtherName" type="OtherNameType" 
minOccurs="0"
maxOccurs="unbounded"/>
                </xs:sequence>
        </xs:complexType>
        <xs:complexType name="OtherNameType">
                <xs:attribute name="Name" use="required">
                <xs:simpleType>
                                <xs:restriction base="xs:string">
                                        <xs:maxLength value="64" />
                                </xs:restriction>
                        </xs:simpleType>
                </xs:attribute>
        </xs:complexType>

Also, if this can't be done via a mapping file, can someone explain how a
customer field handler would work to achieve the results that I need?  It
seems like Castor is very element centric and you have to jump through some
hoops for attributes.  

Please help!

-- 
View this message in context: 
http://www.nabble.com/Help-needed-with-Mapping-and-XML-Binding-tf3340401.html#a9517996
Sent from the Castor - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to