Hello
My name is Carlos a i have some problems with this DTD (is not validated)
and i dont know why. Somebody help me please? Thanks
<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT resolucion (meta, texto)>
<!ELEMENT meta (logo, organizacion, id_resol, organo, distribucion, fecha)>
<!ELEMENT logo EMPTY>
<!ATTLIST logo
url CDATA #REQUIRED
>
<!ELEMENT organizacion (#PCDATA)>
<!ATTLIST organizacion
acron CDATA #REQUIRED
url CDATA #REQUIRED
>
<!ELEMENT id_resol (#PCDATA)>
<!ATTLIST id_resol
organo CDATA #REQUIRED
tipo CDATA #REQUIRED
numero NMTOKEN #REQUIRED
anyo NMTOKEN #REQUIRED
>
<!ELEMENT organo (#PCDATA)>
<!ELEMENT distribucion (#PCDATA)>
<!ELEMENT fecha
<!ATTLIST fecha
fnorm NMTOKEN #REQUIRED
>
<!ELEMENT texto (entradilla, considerandos, decisiones)>
<!ELEMENT entradilla (ent_resol, ent_organo, ent_aprobacion)>
<!ELEMENT ent_resol (#PCDATA)>
<!ELEMENT ent_organo (#PCDATA)>
<!ELEMENT ent_aprobacion (#PCDATA | fecha | organo | sesion)*)>
>
<!ELEMENTsesion (PCDATA)>
<!ELEMENTconisderandos (considerando+)>
<!ELEMENT considerando (p)>
<!ELEMENT p (#PCDATA | enfasis | lugar | entidad | ref)*>
<!ELEMENT enfasis (#PCDATA)>
<!ELEMENT entidad (#PCDATA)>
<!ATTLIST entidad
acron NMTOKEN #IMPLIED
>
<!ELEMENT ref (#PCDATA)
<!ATTLIST ref
url CDATA #REQUIRED
>
<!ELEMENT decisiones (decision+)>
<!ELEMENT decision (p, lista?)>
<!ELEMENT lista (item, lista*)>
<!ATTLIST lista
tipo CDATA #REQUIRED
>
<!ELEMENT item (#PCDATA | enfasis | lugar | entidad | ref)*>
<!ELEMENT lista (item*)>
<!ATTLIST lista
tipo CDATA #REQUIRED
>
My name is Carlos a i have some problems with this DTD (is not validated)
and i dont know why. Somebody help me please? Thanks
<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT resolucion (meta, texto)>
<!ELEMENT meta (logo, organizacion, id_resol, organo, distribucion, fecha)>
<!ELEMENT logo EMPTY>
<!ATTLIST logo
url CDATA #REQUIRED
>
<!ELEMENT organizacion (#PCDATA)>
<!ATTLIST organizacion
acron CDATA #REQUIRED
url CDATA #REQUIRED
>
<!ELEMENT id_resol (#PCDATA)>
<!ATTLIST id_resol
organo CDATA #REQUIRED
tipo CDATA #REQUIRED
numero NMTOKEN #REQUIRED
anyo NMTOKEN #REQUIRED
>
<!ELEMENT organo (#PCDATA)>
<!ELEMENT distribucion (#PCDATA)>
<!ELEMENT fecha
<!ATTLIST fecha
fnorm NMTOKEN #REQUIRED
>
<!ELEMENT texto (entradilla, considerandos, decisiones)>
<!ELEMENT entradilla (ent_resol, ent_organo, ent_aprobacion)>
<!ELEMENT ent_resol (#PCDATA)>
<!ELEMENT ent_organo (#PCDATA)>
<!ELEMENT ent_aprobacion (#PCDATA | fecha | organo | sesion)*)>
>
<!ELEMENTsesion (PCDATA)>
<!ELEMENTconisderandos (considerando+)>
<!ELEMENT considerando (p)>
<!ELEMENT p (#PCDATA | enfasis | lugar | entidad | ref)*>
<!ELEMENT enfasis (#PCDATA)>
<!ELEMENT entidad (#PCDATA)>
<!ATTLIST entidad
acron NMTOKEN #IMPLIED
>
<!ELEMENT ref (#PCDATA)
<!ATTLIST ref
url CDATA #REQUIRED
>
<!ELEMENT decisiones (decision+)>
<!ELEMENT decision (p, lista?)>
<!ELEMENT lista (item, lista*)>
<!ATTLIST lista
tipo CDATA #REQUIRED
>
<!ELEMENT item (#PCDATA | enfasis | lugar | entidad | ref)*>
<!ELEMENT lista (item*)>
<!ATTLIST lista
tipo CDATA #REQUIRED
>