Created
March 23, 2012 17:23
-
-
Save devonjones/2172980 to your computer and use it in GitHub Desktop.
Character interchange document: Basic DTD + XML, combined.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE character_interchange_document [ | |
<!ELEMENT character_interchange_document (character+)> | |
<!ELEMENT character (character_name,playername,role)> | |
<!ELEMENT character_name (#PCDATA)> | |
<!ELEMENT playername (#PCDATA)> | |
<!ELEMENT role EMPTY> | |
<!ATTLIST role | |
value (pc | npc) "pc" | |
]> | |
<character_interchange_document> | |
<character> | |
<character_name>harsk</character_name> | |
<playername>bob</playername> | |
<role value="npc"/> | |
</character> | |
</character_interchange_document> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment