Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" standalone="yes" ?>
- <!DOCTYPE survivor [
- <!ELEMENT survivor (tribe+,chapter+)>
- <!ELEMENT tribe (color,contestant*)>
- <!ELEMENT chapter (task+,name)>
- <!ELEMENT contestant (name+,age)>
- <!ELEMENT task (name|number)>
- <!ELEMENT name (#PCDATA)>
- <!ELEMENT color (#PCDATA)>
- <!ELEMENT age (#PCDATA)>
- <!ELEMENT number (#PCDATA)>
- <!ATTLIST chapter
- cid ID #REQUIRED
- eliminated IDREF #IMPLIED
- >
- <!ATTLIST contestant
- id ID #REQUIRED
- address CDATA #REQUIRED
- >
- <!ATTLIST task
- cid IDREF #REQUIRED
- winner IDREF #REQUIRED
- >
- ]>
- <survivor>
- <tribe>
- <color>red</color>
- <contestant id="jhon" address="texas">
- <name>Jhon</name>
- <age>12</age>
- </contestant>
- <contestant id="galn" address="arizona">
- <name>Glan</name>
- <age>12</age>
- </contestant>
- </tribe>
- <tribe>
- <color>blue</color>
- <contestant id="zoye" address="new-york">
- <name>Zoye</name>
- <age>12</age>
- </contestant>
- </tribe>
- <chapter cid="c1">
- <task>
- <number>1</number>
- </task>
- <name>Chapter1</name>
- </chapter>
- </survivor>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement