root/rpgcharacter/realworld
Back
Namespace:
Filename:
Content: system , generation (type: string) ?, creationdate (type: datetime) , lastmoddate (type: datetime) ?, fileid (type: string) ?, playername (type: string) ?, playeremail (type: string) ?, playerurl (type: string) ?, concept (type: string) ?, note (type: string) *, appdata (type: customdata) *
Description: The realworld
tag defines real world data about
the character, such as the gaming system it uses, the person who created it and so on.
This also include file maintenance issues such as date of modification, etc.
system
defines the role-playing system the character uses.generation
describes the generation method used to create the character, if
the gaming system supports more than one. Generally, a given gaming system will define
a specific set of values to use in this tag, but this standard does not enforce them.creationdate
defines the date the character was created.lastmoddate
defines the last time the XML file was altered.fileid
a unique id for this file. One way to accomplish this is
use a GUID generator or to have each user define a four character signature
code, followed by a name unique to all the characters they themselves have
created.playername
the name of the player who runs the character.playeremail
the e-mail address of the player who runs the character.playerurl
the home page of the player who runs the character.concept
the concept behind the character.notes
a note about a real-world aspect of the character. There can
be zero or more of these in a file.appdata
a section to allow an application to write customized
real-world data about the character. There can be zero or more of these in a file.Code Fragment
<xs:complexType name="realworld">
<xs:sequence>
<xs:element type="system" name="system"/>
<xs:element type="xs:string" name="generation" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:dateTime" name="creationdate"/>
<xs:element type="xs:dateTime" name="lastmoddate" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:string" name="fileid" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:string" name="playername" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:string" name="playeremail" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:string" name="playerurl" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:string" name="concept" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:string" name="note" minOccurs="0" maxOccurs="unbounded"/>
<xs:element type="customdata" name="appdata" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>