home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 January / PCWorld_2001-01_cd.bin / Software / Topware / xmlspy / xmlspy35.exe / Main / xml-data.dtd < prev    next >
Encoding:
Extensible Markup Language  |  2000-11-20  |  2.5 KB  |  68 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- edited with XML Spy v3.0b3 NT (http://www.xmlspy.com) by ALF (NASA) -->
  3. <!-- The possible element datatypes according to http://msdn.microsoft.com/xml/schema/reference/datatypes.asp -->
  4. <!ENTITY % datatypes "(entity | entities | enumeration | id | idref | idrefs | nmtoken | nmtokens | notation | string | bin.base64 | bin.hex | boolean | char | date | dateTime | dateTime.tz | fixed.14.4 | float | int | number | time | time.tz | i1 | i2 | i4 | i8 | r4 | r8 | ui1 | ui2 | ui4 | ui8 | uri | uuid)">
  5. <!-- *** datatype **** -->
  6. <!ELEMENT datatype (description)*>
  7. <!ATTLIST datatype
  8.     dt:type %datatypes; #IMPLIED
  9.     xmlns:dt CDATA #FIXED "urn:schemas-microsoft-com:datatypes"
  10. >
  11. <!-- ***** description ***** -->
  12. <!ELEMENT description (#PCDATA)>
  13. <!-- **** element ***** -->
  14. <!-- additional constraint on maxOccurs is that it must be 1 or "*" -->
  15. <!ELEMENT element (description)*>
  16. <!ATTLIST element
  17.     type NMTOKEN #REQUIRED
  18.     minOccurs CDATA #IMPLIED
  19.     maxOccurs CDATA #IMPLIED
  20. >
  21. <!-- **** attribute ***** -->
  22. <!ELEMENT attribute (description)*>
  23. <!ATTLIST attribute
  24.     type NMTOKEN #REQUIRED
  25.     default CDATA #IMPLIED
  26.     required (yes | no) "no"
  27. >
  28. <!-- **** AttributeType ***** -->
  29. <!ELEMENT AttributeType (datatype | description)*>
  30. <!ATTLIST AttributeType
  31.     name NMTOKEN #REQUIRED
  32.     default CDATA #IMPLIED
  33.     dt:type %datatypes; #IMPLIED
  34.     dt:values CDATA #IMPLIED
  35.     dt:minLength CDATA #IMPLIED
  36.     dt:maxLength CDATA #IMPLIED
  37.     required (yes | no) #IMPLIED
  38.     xmlns:dt CDATA #FIXED "urn:schemas-microsoft-com:datatypes"
  39. >
  40. <!-- **** ElementType ***** -->
  41. <!ELEMENT ElementType (datatype | description | AttributeType | attribute | element | group)*>
  42. <!ATTLIST ElementType
  43.     name NMTOKEN #REQUIRED
  44.     model (open | closed) #IMPLIED
  45.     content (empty | textOnly | eltOnly | mixed) #IMPLIED
  46.     order (one | seq | many) #IMPLIED
  47.     dt:type %datatypes; #IMPLIED
  48.     dt:values CDATA #IMPLIED
  49.     dt:minLength CDATA #IMPLIED
  50.     dt:maxLength CDATA #IMPLIED
  51.     required (yes | no) #IMPLIED
  52.     xmlns:dt CDATA #FIXED "urn:schemas-microsoft-com:datatypes"
  53. >
  54. <!-- **** group ***** -->
  55. <!ELEMENT group (group | element | description)*>
  56. <!ATTLIST group
  57.     minOccurs CDATA #IMPLIED
  58.     maxOccurs CDATA #IMPLIED
  59.     order (one | seq | many) #IMPLIED
  60. >
  61. <!-- **** Schema ***** -->
  62. <!ELEMENT Schema (AttributeType | ElementType | description)*>
  63. <!ATTLIST Schema
  64.     name CDATA #IMPLIED
  65.     xmlns CDATA #FIXED "urn:schemas-microsoft-com:xml-data"
  66.     xmlns:dt CDATA #FIXED "urn:schemas-microsoft-com:datatypes"
  67. >
  68.