Jump to content

Value problems using complextype


carlruiz07

Recommended Posts

Hi. I have problems with the value of some elements using a common type.For example this is my complextype<xs:complexType name="relationship_type" mixed="true"> <xs:attribute name="CodingSchemeDesignator" fixed="DCM"/> <xs:attribute name="Tag" fixed="(0040,A010)"/> <xs:attribute name="Name" fixed="RelationshipType"/> <xs:attribute name="Value"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="CONTAINS"/> <xs:enumeration value="HAS PROPERTIES"/> <xs:enumeration value="HAS OBS CONTEXT"/> <xs:enumeration value="HAS ACQ CONTEXT"/> <xs:enumeration value="INFERRED FROM"/> <xs:enumeration value="SELECTED FROM"/> <xs:enumeration value="HAS CONCEPT MOD"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> I have differents elements using this type and every time in the attributes of the elements appear CONTAINS as a value and I fixed other different value like SELECTED FROM. What Can I do???Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...