home *** CD-ROM | disk | FTP | other *** search
/ MacFormat UK 160 - Disc 2 / MF_UK_160_2.iso / pc / DiscContent / Trials / oxygen / samples / personal.dtd < prev    next >
Encoding:
Extensible Markup Language  |  2005-07-21  |  1.0 KB  |  27 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--doc:Defines the personnel as a collection of person elements. -->
  3. <!ELEMENT personnel (person)+>
  4. <!--doc:Specify information about a person. -->
  5. <!ELEMENT person (name,email*,url*,link?)>
  6. <!ATTLIST person id ID #REQUIRED>
  7. <!ATTLIST person note CDATA #IMPLIED>
  8. <!ATTLIST person contr (true|false) 'false'>
  9. <!ATTLIST person salary CDATA #IMPLIED>
  10. <!--doc:Specify the persone family and given name.-->
  11. <!ELEMENT name ((family,given)|(given,family))>
  12. <!--doc:The person last name.-->
  13. <!ELEMENT family (#PCDATA)>
  14. <!--doc:The person first name.-->
  15. <!ELEMENT given (#PCDATA)>
  16. <!--doc:Email address for this person.-->
  17. <!ELEMENT email (#PCDATA)>
  18. <!--doc:Enter an URL for this person.-->
  19. <!ELEMENT url EMPTY>
  20. <!ATTLIST url href CDATA 'http://'>
  21. <!--doc:Specify who is the manager and who are the subordinates for this person. -->
  22. <!ELEMENT link EMPTY>
  23. <!ATTLIST link manager IDREF #IMPLIED>
  24. <!ATTLIST link subordinates IDREFS #IMPLIED>
  25.  
  26. <!NOTATION gif PUBLIC '-//APP/Photoshop/4.0' 'photoshop.exe'>
  27.