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