Mega Code Archive

 
Categories / XML Tutorial / XML Schema
 

The token type is derived by using a whiteSpace value of collapse

<!-- schema --> <xsd:element name="label" type="xsd:token"/> <!-- instance document --> <label>This is a token string</label>