From 95fe704b4b7559ed87a7d8e13b468fde9c49d6e9 Mon Sep 17 00:00:00 2001 From: SalatielGenol Date: Tue, 27 Sep 2022 23:12:45 +0200 Subject: [PATCH] Comenzando apuntes DTD --- LMSGI/ApuntesXML/readme.md | 72 +++++++++++++++++++++++++++++++++++++- 1 file changed, 71 insertions(+), 1 deletion(-) diff --git a/LMSGI/ApuntesXML/readme.md b/LMSGI/ApuntesXML/readme.md index 31271ed..351d55c 100644 --- a/LMSGI/ApuntesXML/readme.md +++ b/LMSGI/ApuntesXML/readme.md @@ -108,4 +108,74 @@ Playlist: https://www.youtube.com/playlist?list=PLqu7Q-jp3eAPhrfYbS-RcTNZn7L2LMz XMLCopyEditor: https://xml-copy-editor.sourceforge.io/ -Tutorial XML (Abrirllave.com): https://www.abrirllave.com/xml/ \ No newline at end of file +Tutorial XML (Abrirllave.com): https://www.abrirllave.com/xml/ + + +--- + + +## Apuntes DTD + +#### Definición + +Es una definición de estructura y sintaxis para los documentos XML o SGML. Se puede incluir dentro del mismo documento XML, ser un archivo separado, o una mezcla de ambas. + +XML con DTD interno +```xml + + + + + + +]> + + + Abrirllave + Tutoriales de informática. + http://www.abrirllave.com/ + + +``` + +XML con DTD externo (Privado) +```dtd + + + + + +``` +```xml + + + + + Abrirllave + Tutoriales de informática. + http://www.abrirllave.com/ + + +``` + +XML con DTD externo (Público) +```xml + + + + + Título + + +

Párrafo

+ + +``` + +Se suele usar el método externo cuando se utiliza para validar mas de un documento. + + + +https://en.wikipedia.org/wiki/XML_schema#Languages \ No newline at end of file