SlideShare una empresa de Scribd logo
1 de 3
1. Diseñar un esquema XML para crear documentos para un préstamo.
a. En cada documento se indicarán:
1. El nombre y apellidos del bibliotecario
2. Fecha del préstamo y de devolución
3. Datos del lector (id, nombre, apellidos, teléfono y dirección)
4. La dirección se dividirá en tipo de calle (que puede ser calle o avenida),
nombre calle, número, piso y letra, código postal, localidad y provincia
5. Un máximo de tres ejemplares en préstamo. Para cada uno de ellos: el número
de registro, título, autor(es)
6. El préstamo tendrá un atributo numérico que servirá como identificador
b. Verificar que este bien formado.
2. De acuerdo al siguiente documento XML, realizar lo siguiente:
a. Verificar que sea un documento bien formado
b. Crear un esquema
Documento XML de catalogo de películas:
<?xml version="1.0"?>
<CatalogoPeliculas>
<Pelicula>
<Titulo>The Matrix</Titulo>
<Duracion>136</Duracion>
<Genero>Sci-Fi and Fantasy</Genero>
<Actores>
<Actor>Keanu Reeves</Actor>
<Actor>Laurence Fishburne</Actor>
<Actor>Carrie Ann Moss</Actor>
</Actores>
<Fecha>1999</Fecha>
<Director>Wachowski Brothers</Director>
<Formato>DVD</Formato>
</Pelicula>
<Pelicula>
<Titulo>Titanic</Titulo>
<Duracion>194</Duracion>
<Genero>Drama</Genero>
<Actores>
<Actor>Leonardo DiCaprio</Actor>
<Actor>Kate Winslet</Actor>
</Actores>
<Fecha>1999</Fecha>
<Director>James Cameron</Director>
<Formato>DVD</Formato>
</Pelicula>
<Pelicula>
<Titulo>The Sixth Sense</Titulo>
<Duracion>106</Duracion>
<Genero>Thriller</Genero>
<Actores>
<Actor>Bruce Willis</Actor>
<Actor>Haley Joel Osment</Actor>
</Actores>
<Fecha>1999</Fecha>
<Director>M. Night Shyamalan</Director>
<Formato>VHS</Formato>
</Pelicula>
</CatalogoPeliculas>

Más contenido relacionado

Destacado

Creu Blanca ha desarrollado un departamento especializado en el diagnóstico y...
Creu Blanca ha desarrollado un departamento especializado en el diagnóstico y...Creu Blanca ha desarrollado un departamento especializado en el diagnóstico y...
Creu Blanca ha desarrollado un departamento especializado en el diagnóstico y...CENTROS MEDICOS CREU BLANCA
 
Service Certificate BT-AT.
Service Certificate BT-AT.Service Certificate BT-AT.
Service Certificate BT-AT.Anwar Attia
 
Tutorial para realizar un formato en excel dari
Tutorial para realizar un formato en excel dariTutorial para realizar un formato en excel dari
Tutorial para realizar un formato en excel dariDarinkaUbaldo
 
Mech and Ind Project Report Cover
Mech and Ind Project Report CoverMech and Ind Project Report Cover
Mech and Ind Project Report CoverAnkur Pandey
 
Bhilai steel plant training report /
Bhilai steel plant  training report /Bhilai steel plant  training report /
Bhilai steel plant training report /Deepash Rajak
 
Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...
Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...
Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...Redwan Islam
 

Destacado (13)

Vbn
VbnVbn
Vbn
 
Creu Blanca ha desarrollado un departamento especializado en el diagnóstico y...
Creu Blanca ha desarrollado un departamento especializado en el diagnóstico y...Creu Blanca ha desarrollado un departamento especializado en el diagnóstico y...
Creu Blanca ha desarrollado un departamento especializado en el diagnóstico y...
 
Capacitcion
CapacitcionCapacitcion
Capacitcion
 
Service Certificate BT-AT.
Service Certificate BT-AT.Service Certificate BT-AT.
Service Certificate BT-AT.
 
El Grupo Norte en Castilla y León Económica
El Grupo Norte en Castilla y León EconómicaEl Grupo Norte en Castilla y León Económica
El Grupo Norte en Castilla y León Económica
 
73
7373
73
 
Tutorial para realizar un formato en excel dari
Tutorial para realizar un formato en excel dariTutorial para realizar un formato en excel dari
Tutorial para realizar un formato en excel dari
 
Universidad de cuenca
Universidad de cuencaUniversidad de cuenca
Universidad de cuenca
 
Mech and Ind Project Report Cover
Mech and Ind Project Report CoverMech and Ind Project Report Cover
Mech and Ind Project Report Cover
 
Bhilai steel plant training report /
Bhilai steel plant  training report /Bhilai steel plant  training report /
Bhilai steel plant training report /
 
Biodiesel-Fuel of Tomorrow
Biodiesel-Fuel of Tomorrow Biodiesel-Fuel of Tomorrow
Biodiesel-Fuel of Tomorrow
 
Training presentation-BHILAI STEEL PLANT
Training presentation-BHILAI STEEL PLANTTraining presentation-BHILAI STEEL PLANT
Training presentation-BHILAI STEEL PLANT
 
Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...
Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...
Biomedical Instrumentation Presentation on Infrared Emitter-Detector and Ardu...
 

Último

TEMA 13 ESPAÑA EN DEMOCRACIA:DISTINTOS GOBIERNOS
TEMA 13 ESPAÑA EN DEMOCRACIA:DISTINTOS GOBIERNOSTEMA 13 ESPAÑA EN DEMOCRACIA:DISTINTOS GOBIERNOS
TEMA 13 ESPAÑA EN DEMOCRACIA:DISTINTOS GOBIERNOSjlorentemartos
 
ACUERDO MINISTERIAL 078-ORGANISMOS ESCOLARES..pptx
ACUERDO MINISTERIAL 078-ORGANISMOS ESCOLARES..pptxACUERDO MINISTERIAL 078-ORGANISMOS ESCOLARES..pptx
ACUERDO MINISTERIAL 078-ORGANISMOS ESCOLARES..pptxzulyvero07
 
UNIDAD DPCC. 2DO. DE SECUNDARIA DEL 2024
UNIDAD DPCC. 2DO. DE  SECUNDARIA DEL 2024UNIDAD DPCC. 2DO. DE  SECUNDARIA DEL 2024
UNIDAD DPCC. 2DO. DE SECUNDARIA DEL 2024AndreRiva2
 
Planificacion Anual 2do Grado Educacion Primaria 2024 Ccesa007.pdf
Planificacion Anual 2do Grado Educacion Primaria   2024   Ccesa007.pdfPlanificacion Anual 2do Grado Educacion Primaria   2024   Ccesa007.pdf
Planificacion Anual 2do Grado Educacion Primaria 2024 Ccesa007.pdfDemetrio Ccesa Rayme
 
ACERTIJO DE LA BANDERA OLÍMPICA CON ECUACIONES DE LA CIRCUNFERENCIA. Por JAVI...
ACERTIJO DE LA BANDERA OLÍMPICA CON ECUACIONES DE LA CIRCUNFERENCIA. Por JAVI...ACERTIJO DE LA BANDERA OLÍMPICA CON ECUACIONES DE LA CIRCUNFERENCIA. Por JAVI...
ACERTIJO DE LA BANDERA OLÍMPICA CON ECUACIONES DE LA CIRCUNFERENCIA. Por JAVI...JAVIER SOLIS NOYOLA
 
2024 - Expo Visibles - Visibilidad Lesbica.pdf
2024 - Expo Visibles - Visibilidad Lesbica.pdf2024 - Expo Visibles - Visibilidad Lesbica.pdf
2024 - Expo Visibles - Visibilidad Lesbica.pdfBaker Publishing Company
 
la unidad de s sesion edussssssssssssssscacio fisca
la unidad de s sesion edussssssssssssssscacio fiscala unidad de s sesion edussssssssssssssscacio fisca
la unidad de s sesion edussssssssssssssscacio fiscaeliseo91
 
NARRACIONES SOBRE LA VIDA DEL GENERAL ELOY ALFARO
NARRACIONES SOBRE LA VIDA DEL GENERAL ELOY ALFARONARRACIONES SOBRE LA VIDA DEL GENERAL ELOY ALFARO
NARRACIONES SOBRE LA VIDA DEL GENERAL ELOY ALFAROJosé Luis Palma
 
DE LAS OLIMPIADAS GRIEGAS A LAS DEL MUNDO MODERNO.ppt
DE LAS OLIMPIADAS GRIEGAS A LAS DEL MUNDO MODERNO.pptDE LAS OLIMPIADAS GRIEGAS A LAS DEL MUNDO MODERNO.ppt
DE LAS OLIMPIADAS GRIEGAS A LAS DEL MUNDO MODERNO.pptELENA GALLARDO PAÚLS
 
Historia y técnica del collage en el arte
Historia y técnica del collage en el arteHistoria y técnica del collage en el arte
Historia y técnica del collage en el arteRaquel Martín Contreras
 
Planificacion Anual 4to Grado Educacion Primaria 2024 Ccesa007.pdf
Planificacion Anual 4to Grado Educacion Primaria   2024   Ccesa007.pdfPlanificacion Anual 4to Grado Educacion Primaria   2024   Ccesa007.pdf
Planificacion Anual 4to Grado Educacion Primaria 2024 Ccesa007.pdfDemetrio Ccesa Rayme
 
Dinámica florecillas a María en el mes d
Dinámica florecillas a María en el mes dDinámica florecillas a María en el mes d
Dinámica florecillas a María en el mes dstEphaniiie
 
30-de-abril-plebiscito-1902_240420_104511.pdf
30-de-abril-plebiscito-1902_240420_104511.pdf30-de-abril-plebiscito-1902_240420_104511.pdf
30-de-abril-plebiscito-1902_240420_104511.pdfgimenanahuel
 
FORTI-MAYO 2024.pdf.CIENCIA,EDUCACION,CULTURA
FORTI-MAYO 2024.pdf.CIENCIA,EDUCACION,CULTURAFORTI-MAYO 2024.pdf.CIENCIA,EDUCACION,CULTURA
FORTI-MAYO 2024.pdf.CIENCIA,EDUCACION,CULTURAEl Fortí
 
La triple Naturaleza del Hombre estudio.
La triple Naturaleza del Hombre estudio.La triple Naturaleza del Hombre estudio.
La triple Naturaleza del Hombre estudio.amayarogel
 
SINTAXIS DE LA ORACIÓN SIMPLE 2023-2024.pptx
SINTAXIS DE LA ORACIÓN SIMPLE 2023-2024.pptxSINTAXIS DE LA ORACIÓN SIMPLE 2023-2024.pptx
SINTAXIS DE LA ORACIÓN SIMPLE 2023-2024.pptxlclcarmen
 
Informatica Generalidades - Conceptos Básicos
Informatica Generalidades - Conceptos BásicosInformatica Generalidades - Conceptos Básicos
Informatica Generalidades - Conceptos BásicosCesarFernandez937857
 
Plan Refuerzo Escolar 2024 para estudiantes con necesidades de Aprendizaje en...
Plan Refuerzo Escolar 2024 para estudiantes con necesidades de Aprendizaje en...Plan Refuerzo Escolar 2024 para estudiantes con necesidades de Aprendizaje en...
Plan Refuerzo Escolar 2024 para estudiantes con necesidades de Aprendizaje en...Carlos Muñoz
 

Último (20)

TEMA 13 ESPAÑA EN DEMOCRACIA:DISTINTOS GOBIERNOS
TEMA 13 ESPAÑA EN DEMOCRACIA:DISTINTOS GOBIERNOSTEMA 13 ESPAÑA EN DEMOCRACIA:DISTINTOS GOBIERNOS
TEMA 13 ESPAÑA EN DEMOCRACIA:DISTINTOS GOBIERNOS
 
ACUERDO MINISTERIAL 078-ORGANISMOS ESCOLARES..pptx
ACUERDO MINISTERIAL 078-ORGANISMOS ESCOLARES..pptxACUERDO MINISTERIAL 078-ORGANISMOS ESCOLARES..pptx
ACUERDO MINISTERIAL 078-ORGANISMOS ESCOLARES..pptx
 
UNIDAD DPCC. 2DO. DE SECUNDARIA DEL 2024
UNIDAD DPCC. 2DO. DE  SECUNDARIA DEL 2024UNIDAD DPCC. 2DO. DE  SECUNDARIA DEL 2024
UNIDAD DPCC. 2DO. DE SECUNDARIA DEL 2024
 
Planificacion Anual 2do Grado Educacion Primaria 2024 Ccesa007.pdf
Planificacion Anual 2do Grado Educacion Primaria   2024   Ccesa007.pdfPlanificacion Anual 2do Grado Educacion Primaria   2024   Ccesa007.pdf
Planificacion Anual 2do Grado Educacion Primaria 2024 Ccesa007.pdf
 
Medición del Movimiento Online 2024.pptx
Medición del Movimiento Online 2024.pptxMedición del Movimiento Online 2024.pptx
Medición del Movimiento Online 2024.pptx
 
ACERTIJO DE LA BANDERA OLÍMPICA CON ECUACIONES DE LA CIRCUNFERENCIA. Por JAVI...
ACERTIJO DE LA BANDERA OLÍMPICA CON ECUACIONES DE LA CIRCUNFERENCIA. Por JAVI...ACERTIJO DE LA BANDERA OLÍMPICA CON ECUACIONES DE LA CIRCUNFERENCIA. Por JAVI...
ACERTIJO DE LA BANDERA OLÍMPICA CON ECUACIONES DE LA CIRCUNFERENCIA. Por JAVI...
 
2024 - Expo Visibles - Visibilidad Lesbica.pdf
2024 - Expo Visibles - Visibilidad Lesbica.pdf2024 - Expo Visibles - Visibilidad Lesbica.pdf
2024 - Expo Visibles - Visibilidad Lesbica.pdf
 
la unidad de s sesion edussssssssssssssscacio fisca
la unidad de s sesion edussssssssssssssscacio fiscala unidad de s sesion edussssssssssssssscacio fisca
la unidad de s sesion edussssssssssssssscacio fisca
 
NARRACIONES SOBRE LA VIDA DEL GENERAL ELOY ALFARO
NARRACIONES SOBRE LA VIDA DEL GENERAL ELOY ALFARONARRACIONES SOBRE LA VIDA DEL GENERAL ELOY ALFARO
NARRACIONES SOBRE LA VIDA DEL GENERAL ELOY ALFARO
 
DE LAS OLIMPIADAS GRIEGAS A LAS DEL MUNDO MODERNO.ppt
DE LAS OLIMPIADAS GRIEGAS A LAS DEL MUNDO MODERNO.pptDE LAS OLIMPIADAS GRIEGAS A LAS DEL MUNDO MODERNO.ppt
DE LAS OLIMPIADAS GRIEGAS A LAS DEL MUNDO MODERNO.ppt
 
Historia y técnica del collage en el arte
Historia y técnica del collage en el arteHistoria y técnica del collage en el arte
Historia y técnica del collage en el arte
 
Planificacion Anual 4to Grado Educacion Primaria 2024 Ccesa007.pdf
Planificacion Anual 4to Grado Educacion Primaria   2024   Ccesa007.pdfPlanificacion Anual 4to Grado Educacion Primaria   2024   Ccesa007.pdf
Planificacion Anual 4to Grado Educacion Primaria 2024 Ccesa007.pdf
 
Dinámica florecillas a María en el mes d
Dinámica florecillas a María en el mes dDinámica florecillas a María en el mes d
Dinámica florecillas a María en el mes d
 
30-de-abril-plebiscito-1902_240420_104511.pdf
30-de-abril-plebiscito-1902_240420_104511.pdf30-de-abril-plebiscito-1902_240420_104511.pdf
30-de-abril-plebiscito-1902_240420_104511.pdf
 
FORTI-MAYO 2024.pdf.CIENCIA,EDUCACION,CULTURA
FORTI-MAYO 2024.pdf.CIENCIA,EDUCACION,CULTURAFORTI-MAYO 2024.pdf.CIENCIA,EDUCACION,CULTURA
FORTI-MAYO 2024.pdf.CIENCIA,EDUCACION,CULTURA
 
La triple Naturaleza del Hombre estudio.
La triple Naturaleza del Hombre estudio.La triple Naturaleza del Hombre estudio.
La triple Naturaleza del Hombre estudio.
 
SINTAXIS DE LA ORACIÓN SIMPLE 2023-2024.pptx
SINTAXIS DE LA ORACIÓN SIMPLE 2023-2024.pptxSINTAXIS DE LA ORACIÓN SIMPLE 2023-2024.pptx
SINTAXIS DE LA ORACIÓN SIMPLE 2023-2024.pptx
 
Power Point: "Defendamos la verdad".pptx
Power Point: "Defendamos la verdad".pptxPower Point: "Defendamos la verdad".pptx
Power Point: "Defendamos la verdad".pptx
 
Informatica Generalidades - Conceptos Básicos
Informatica Generalidades - Conceptos BásicosInformatica Generalidades - Conceptos Básicos
Informatica Generalidades - Conceptos Básicos
 
Plan Refuerzo Escolar 2024 para estudiantes con necesidades de Aprendizaje en...
Plan Refuerzo Escolar 2024 para estudiantes con necesidades de Aprendizaje en...Plan Refuerzo Escolar 2024 para estudiantes con necesidades de Aprendizaje en...
Plan Refuerzo Escolar 2024 para estudiantes con necesidades de Aprendizaje en...
 

Repasoesquemas1

  • 1. 1. Diseñar un esquema XML para crear documentos para un préstamo. a. En cada documento se indicarán: 1. El nombre y apellidos del bibliotecario 2. Fecha del préstamo y de devolución 3. Datos del lector (id, nombre, apellidos, teléfono y dirección) 4. La dirección se dividirá en tipo de calle (que puede ser calle o avenida), nombre calle, número, piso y letra, código postal, localidad y provincia 5. Un máximo de tres ejemplares en préstamo. Para cada uno de ellos: el número de registro, título, autor(es) 6. El préstamo tendrá un atributo numérico que servirá como identificador b. Verificar que este bien formado. 2. De acuerdo al siguiente documento XML, realizar lo siguiente: a. Verificar que sea un documento bien formado b. Crear un esquema Documento XML de catalogo de películas: <?xml version="1.0"?> <CatalogoPeliculas> <Pelicula> <Titulo>The Matrix</Titulo> <Duracion>136</Duracion> <Genero>Sci-Fi and Fantasy</Genero> <Actores> <Actor>Keanu Reeves</Actor>
  • 2. <Actor>Laurence Fishburne</Actor> <Actor>Carrie Ann Moss</Actor> </Actores> <Fecha>1999</Fecha> <Director>Wachowski Brothers</Director> <Formato>DVD</Formato> </Pelicula> <Pelicula> <Titulo>Titanic</Titulo> <Duracion>194</Duracion> <Genero>Drama</Genero> <Actores> <Actor>Leonardo DiCaprio</Actor> <Actor>Kate Winslet</Actor> </Actores> <Fecha>1999</Fecha> <Director>James Cameron</Director> <Formato>DVD</Formato> </Pelicula> <Pelicula> <Titulo>The Sixth Sense</Titulo> <Duracion>106</Duracion> <Genero>Thriller</Genero> <Actores> <Actor>Bruce Willis</Actor>
  • 3. <Actor>Haley Joel Osment</Actor> </Actores> <Fecha>1999</Fecha> <Director>M. Night Shyamalan</Director> <Formato>VHS</Formato> </Pelicula> </CatalogoPeliculas>