<Unit Number="1">
<Identifier Type="ABC" Text="STO0001"/>
<Identifier Type="DEF" Text="Some Value"/>
<Identifier Type="GHI" Text="20070805"/>
<Disposition Unit="Accept"/>
</Unit>
I need to validate that Type="DEF" Text="Some Value" is not empty
Something Like:
<xs:complexType name="requiredValue" abstract="true"/>
<xs:complexType name="Identifier">
<xs:complexContent>
<xs:extension base="requiredValue">
<xs:attribute name="Type" use="required" fixed="DEF"/>
<xs:attribute name="Text" type="NonEmptyString"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>