Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created August 23, 2014 11:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fhernd/799c0bffb76ce99d9729 to your computer and use it in GitHub Desktop.
Save Fhernd/799c0bffb76ce99d9729 to your computer and use it in GitHub Desktop.
Uso de un esquema como fuente de validación de un archivo XML.
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http:///www.w3.org/2001/XMLSchema">
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="Empleado">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Emp_ID" type="xsd:string/>
<xsd:element name="Emp_Nombre" type="xsd:string/>
<xsd:element name="Emp_Email" type="xsd:string/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment