mirror of
https://gitlab.com/tutorial-java-rafa-munoz/tutorial-java-2024-25/LMSGI-2024-25.git
synced 2025-11-09 18:03:06 +01:00
feat(ch 4): added
This commit is contained in:
14
Unidad_04_DTD_XSD/DTD/13-xml-dtd-notation.xml
Normal file
14
Unidad_04_DTD_XSD/DTD/13-xml-dtd-notation.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE marvel [
|
||||
<!NOTATION JPG SYSTEM "image/jpeg">
|
||||
<!NOTATION GIF SYSTEM "image/gif">
|
||||
<!NOTATION PNG SYSTEM "image/png">
|
||||
|
||||
<!ELEMENT marvel (superheroe*)>
|
||||
<!ELEMENT superheroe (#PCDATA)>
|
||||
<!ATTLIST superheroe nombre CDATA #REQUIRED
|
||||
tipoImagen NOTATION (GIF | JPG | PNG) #IMPLIED>
|
||||
]>
|
||||
<marvel>
|
||||
<superheroe nombre="Thor" tipoImagen="PNG">Un Dios</superheroe>
|
||||
</marvel>
|
||||
Reference in New Issue
Block a user