lode004
Programmer
- Jun 3, 2008
- 4
Hi,
An extract of the xsd file i have:
<xs:element name="Side">
<xs:complexType>
<xs:sequence>
<xs:element name="CIRC" type="xs:double" default="0.00">
<xs:annotation>
<xs:documentation>Circumference</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FBOCIN" type="xs:double" default="0.0">
<xs:annotation>
<xs:documentation>Finish block to prism reference point offsets (mm). Can be used for single vision and for multifocals. +IN means PRP is towards nasal relative to the finish block. -IN means PRP is towards temporal relative to the finish block. Also known as X decentration.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FBOCUP" type="xs:double" default="0.0">
<xs:annotation>
<xs:documentation>Finish block to prism reference point offsets (mm). Can be used for single vision and for multifocals. +UP means PRP is above the finish block. -UP means PRP is below the finish block. Also known as Y decentration.</xs:documentation>
</xs:annotation>
</xs:element>
...
A whole lot more elements here
...
</xs:sequence>
<xs:attribute name="type" type="side_type" use="required">
<xs:annotation>
<xs:documentation>L = Left side; R = Right side</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
For the question i have there are 2 important elements:
FBOCIN & FBOCUP
Is there a way to define in the xsd that if the FBOCIN element occures that the FBOCUP shouldn't and vise versa?
Anyone has a suggestion?
Thanks in advance
An extract of the xsd file i have:
<xs:element name="Side">
<xs:complexType>
<xs:sequence>
<xs:element name="CIRC" type="xs:double" default="0.00">
<xs:annotation>
<xs:documentation>Circumference</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FBOCIN" type="xs:double" default="0.0">
<xs:annotation>
<xs:documentation>Finish block to prism reference point offsets (mm). Can be used for single vision and for multifocals. +IN means PRP is towards nasal relative to the finish block. -IN means PRP is towards temporal relative to the finish block. Also known as X decentration.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FBOCUP" type="xs:double" default="0.0">
<xs:annotation>
<xs:documentation>Finish block to prism reference point offsets (mm). Can be used for single vision and for multifocals. +UP means PRP is above the finish block. -UP means PRP is below the finish block. Also known as Y decentration.</xs:documentation>
</xs:annotation>
</xs:element>
...
A whole lot more elements here
...
</xs:sequence>
<xs:attribute name="type" type="side_type" use="required">
<xs:annotation>
<xs:documentation>L = Left side; R = Right side</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
For the question i have there are 2 important elements:
FBOCIN & FBOCUP
Is there a way to define in the xsd that if the FBOCIN element occures that the FBOCUP shouldn't and vise versa?
Anyone has a suggestion?
Thanks in advance