Problem in validating the scema

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rac
    New Member
    • Sep 2006
    • 1

    #1

    Problem in validating the scema

    i have a piece of code:
    Code:
    <xs:element name="AdjustmentIndicator">
    		<xs:simpleType>
    			<xs:restriction base="xs:NMTOKEN">
    				<xs:enumeration value="PriorOrCurrent"/>
    				<xs:enumeration value="Prior"/>
    				<xs:enumeration value="Current"/>
    			</xs:restriction>
    		</xs:simpleType>
    	</xs:element>

    need to pass null value in adjustment indicator.
    how to do that.if i pass null or do not pass anything then it does not validate.
    Last edited by Dormilich; Mar 7 '09, 07:18 PM. Reason: added [code] tags
Working...