Documentos de Académico
Documentos de Profesional
Documentos de Cultura
----
xs:choice cuando solo puedo tener uno u otro.
xs:sequence
xs choice
xs element name type
xs choice
xs element
xs sequnece
TIPOS DE DATOS
usaremos predefinidos o construidos..
xs:any es el padre de todos
los hijos son mas restrictivos que los padres y hay que ser lo mas restrictvo y
especifico posible
xs:string
numero natural pequeño xs:byte o shorto positivo positiveInteger
enter xs:integer
xs:double o float o long
xs:date para fechas
fecha y hora xs:dateTime
-----------
TIPOS DE DATOS CONSTRUIDOS A PARTIR DE LOS DEFINIDOS
<XS:ELEMENT NAME="MODELO">
<XS:SIMPLETYPE>
<XS:RESTRICTION BASE="XS:STRING">
OTRA FROMA MAS GENERICA DE REDEFINIR TIPOS SIMPLES CON NOMBRES PARA PODER
REUTILIZARLOS
XS:SIMPLETYPE NAME:TIPO_PUERTAS>
XS:RESTRICTION SHORT
DEFINIR LOS DATOS EN UN BLOQUE
EN LA ESTRUCTURA:
XS:ELEMENT TYPE:TIPO PUERTAS
RESTRICCIONES SOBRE ELEMENTOS PREDEFINIDOS
DENTRO DE RSTRICTION SE METEN UNAS COSAS QUE SE LLAMAN FACEETAS
XS:LENGTH
XS:MAXLENGTH
mininclusive y maxexlusive tb valen ara fecha y horas
PATTERNS
xs simpletype name tipo dni
xs restriction base xs:string