>> English << | česky | Español | По-русски | Français | Italiano | Deutsch | Magyar | ZVON > Tutorials > DTD Tutorial |
Intro / Search / ZVON |
>> Example 8 << | Prev | Next | Contents |
<!ELEMENT XXX (AAA+ , BBB+)> <!ELEMENT AAA (BBB | CCC )> <!ELEMENT BBB (#PCDATA | CCC )*> <!ELEMENT CCC (#PCDATA)> |
<!DOCTYPE XXX SYSTEM "tutorial.dtd"> <XXX> <AAA> <CCC>Precisely one element.</CCC> </AAA> <AAA> <BBB> <CCC/> <CCC/> <CCC/> </BBB> </AAA> <BBB/> <BBB> This is <CCC/> a combination <CCC/> of <CCC> CCC elements </CCC> and text <CCC/>. </BBB> <BBB> Text only. </BBB> </XXX> |
<!DOCTYPE XXX SYSTEM "tutorial.dtd"> <XXX> <AAA> Element: <CCC/> </AAA> <BBB> Element: <CCC/> </BBB> </XXX> |