Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created June 23, 2014 23:45
Show Gist options
  • Save Fhernd/d1588289f58f4b5defac to your computer and use it in GitHub Desktop.
Save Fhernd/d1588289f58f4b5defac to your computer and use it in GitHub Desktop.
Archivo con esquema de validación para la contratación de empleados.
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="urn:contrato-empleado">
<xs:element name="empleado">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="xs:unsignedShort" />
<xs:element name="fecha-contrato" type="xs:date" />
<xs:element name="cargo" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment