English | česky | Español | >> По-русски << | Français | Italiano | Deutsch | Magyar | ZVON > Tutorials > DTD Tutorial |
Введение / Поиск / ZVON |
>> Пример 12 << | Назад | Вперед | Содержание |
<!ELEMENT XXX (AAA+ , BBB+, CCC+, DDD+)> <!ELEMENT AAA (#PCDATA)> <!ELEMENT BBB (#PCDATA)> <!ELEMENT CCC (#PCDATA)> <!ELEMENT DDD (#PCDATA)> <!ATTLIST AAA mark ID #REQUIRED> <!ATTLIST BBB id ID #REQUIRED> <!ATTLIST CCC ref IDREF #REQUIRED> <!ATTLIST DDD ref IDREFS #REQUIRED> |
<!DOCTYPE XXX SYSTEM "tutorial.dtd"> <XXX> <AAA mark="a1"/> <AAA mark="a2"/> <AAA mark="a3"/> <BBB id="b001" /> <CCC ref="a3" /> <DDD ref="a1 b001 a2" /> </XXX> |
<!DOCTYPE XXX SYSTEM "tutorial.dtd"> <XXX> <AAA mark="a1"/> <AAA mark="a2"/> <BBB id="b01" /> <CCC ref="a3" /> <DDD ref="a1 b001 a2" /> </XXX> |
<!DOCTYPE XXX SYSTEM "tutorial.dtd"> <XXX> <AAA mark="a1"/> <AAA mark="a2"/> <AAA mark="a3"/> <BBB id="b001" /> <CCC ref="a1 b001 a2" /> <DDD ref="a1 b001 a2" /> </XXX> |