Hey folks,
Trying to get my head around this, although anything I've stumbled upon online is a tad too complex for my actual needs.
I just wish to know if something like this is a valid DTD, using the example of Wayne Rooney, who is a player within the FA Premiership.
The plan of such a dtd would be that many players would fit in between the 'FA Premiership Players' brackets, but I'm unsure if this is valid practice or if I should uniquely identify each player instead.
Thanks for any help.
Trying to get my head around this, although anything I've stumbled upon online is a tad too complex for my actual needs.
I just wish to know if something like this is a valid DTD, using the example of Wayne Rooney, who is a player within the FA Premiership.
Code:
<!ELEMENT List (Item)+>
<!ELEMENT Item (#PCDATA)>
<fapremiershipplayers>
<player>
<name>Wayne Rooney</name>
<nationality>English</nationality>
<age>22</age>
<size>Fat</size>
<position>Striker</position>
</player>
</fapremiershipplayers>
The plan of such a dtd would be that many players would fit in between the 'FA Premiership Players' brackets, but I'm unsure if this is valid practice or if I should uniquely identify each player instead.
Thanks for any help.
