home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / XML Utilities / XML Writer 2.12 / XML writer.exe / file0039.bin < prev    next >
Encoding:
Text File  |  2003-04-14  |  4.6 KB  |  120 lines

  1. XML declaration
  2. <?xml version="" ?>
  3. XML declaration (including all attributes)
  4. <?xml version="" encoding="" standalone="" ?>
  5. internal DTD
  6. <!DOCTYPE root_element [\ninsert DTD here\n]>
  7. private external DTD
  8. <!DOCTYPE root_element SYSTEM "DTD_location">
  9. public external DTD
  10. <!DOCTYPE root_element PUBLIC "DTD_name" "DTD_location">
  11. element-PCDATA
  12. <!ELEMENT name (#PCDATA)>
  13. element-EMPTY
  14. <!ELEMENT name EMPTY>
  15. element-ANY
  16. <!ELEMENT name ANY>
  17. element-child
  18. <!ELEMENT parent_name (child_name)>
  19. element-sequence
  20. <!ELEMENT parent_name (child_name_1,child_name_2,child_name_3)>
  21. element-optional children
  22. <!ELEMENT parent_name (child_name?)>
  23. element-zero/more children
  24. <!ELEMENT parent_name (child_name*)>
  25. element - one/more children
  26. <!ELEMENT parent_name (child_name+)>
  27. element - choice
  28. <!ELEMENT parent_name (child_name_1|child_name_2)>
  29. element - mixed content
  30. <!ELEMENT parent_name (#PCDATA|child_name_1)*>
  31. attribute-list declaration
  32. <!ATTLIST element_name attribute_name attribute_type default_value>
  33. attribute-CDATA IMPLIED
  34. <!ATTLIST element_name attribute_name CDATA #IMPLIED>
  35. attribute-CDATA REQUIRED
  36. <!ATTLIST element_name attribute_name CDATA #REQUIRED>
  37. attribute-CDATA FIXED
  38. <!ATTLIST element_name attribute_name CDATA #FIXED "default_value">
  39. attribute-ID IMPLIED
  40. <!ATTLIST element_name attribute_name ID #IMPLIED>
  41. attribute-ID REQUIRED
  42. <!ATTLIST element_name attribute_name ID #REQUIRED>
  43. attribute-IDREF IMPLIED
  44. <!ATTLIST element_name attribute_name IDREF #IMPLIED>
  45. attribute-IDREF REQUIRED
  46. <!ATTLIST element_name attribute_name IDREF #REQUIRED>
  47. attribute-IDREF FIXED
  48. <!ATTLIST element_name attribute_name IDREF #FIXED "default_value">
  49. attribute-IDREFS IMPLIED
  50. <!ATTLIST element_name attribute_name IDREFS #IMPLIED>
  51. attribute-IDREFS REQUIRED
  52. <!ATTLIST element_name attribute_name IDREFS #REQUIRED>
  53. attribute-IDREFS FIXED
  54. <!ATTLIST element_name attribute_name IDREFS #FIXED "default_value">
  55. attribute-NMTOKEN IMPLIED
  56. <!ATTLIST element_name attribute_name NMTOKEN #IMPLIED>
  57. attribute-NMTOKEN REQUIRED
  58. <!ATTLIST element_name attribute_name NMTOKEN #REQUIRED>
  59. attribute-NMTOKEN FIXED
  60. <!ATTLIST element_name attribute_name NMTOKEN #FIXED "default_value">
  61. attribute-NMTOKENS IMPLIED
  62. <!ATTLIST element_name attribute_name NMTOKENS #IMPLIED>
  63. attribute-NMTOKENS REQUIRED
  64. <!ATTLIST element_name attribute_name NMTOKENS #REQUIRED>
  65. attribute-NMTOKENS FIXED
  66. <!ATTLIST element_name attribute_name NMTOKENS #FIXED "default_value">
  67. attribute-enumerated IMPLIED
  68. <!ATTLIST element_name attribute_name (choice_1|choice_2) #IMPLIED>
  69. attribute-enumerated REQUIRED
  70. <!ATTLIST element_name attribute_name (choice_1|choice_2) #REQUIRED>
  71. attribute-enumerated FIXED
  72. <!ATTLIST element_name attribute_name (choice_1|choice_2) #FIXED "default_value">
  73. attribute-ENTITY IMPLIED
  74. <!ATTLIST element_name attribute_name ENTITY #IMPLIED>
  75. attribute-ENTITY REQUIRED
  76. <!ATTLIST element_name attribute_name ENTITY #REQUIRED>
  77. attribute-ENTITY FIXED
  78. <!ATTLIST element_name attribute_name ENTITY #FIXED "default_value">
  79. attribute-ENTITIES IMPLIED
  80. <!ATTLIST element_name attribute_name ENTITIES #IMPLIED>
  81. attribute-ENTITIES REQUIRED
  82. <!ATTLIST element_name attribute_name ENTITIES #REQUIRED>
  83. attribute-ENTITIES FIXED
  84. <!ATTLIST element_name attribute_name ENTITIES #FIXED "default_value">
  85. attribute-NOTATION IMPLIED
  86. <!ATTLIST element_name attribute_name NOTATION (choice_1|choice_2) #IMPLIED>
  87. attribute-NOTATION REQUIRED
  88. <!ATTLIST element_name attribute_name NOTATION (choice_1|choice_2) #REQUIRED>
  89. attribute-NOTATION FIXED
  90. <!ATTLIST element_name attribute_name NOTATION (choice_1|choice_2) #FIXED "default_value">
  91. general entity-internal parsed
  92. <!ENTITY entity_name "replacement text">
  93. general entity-external parsed (private)
  94. <!ENTITY entity_name SYSTEM "URI">
  95. general entity-external parsed (public)
  96. <!ENTITY entity_name PUBLIC "public_ID" "URI">
  97. general entity-external unparsed (private)
  98. <!ENTITY entity_name SYSTEM "URI" NDATA notation_type>
  99. general entity-external unparsed (public)
  100. <!ENTITY entity_name PUBLIC "public_ID" "URI" NDATA notation_type>
  101. parameter entity-internal parsed
  102. <!ENTITY % entity_name "entity_value">
  103. parameter entity-external parsed (private)
  104. <!ENTITY % entity_name SYSTEM "URI">
  105. parameter entity-external parsed (public)
  106. <!ENTITY % entity_name PUBLIC "public_ID" "URI">
  107. notation (private)
  108. <!NOTATION name SYSTEM "URI">
  109. notation (public)
  110. <!NOTATION name PUBLIC "public_ID" "URI">
  111. CDATA section
  112. <![CDATA[\nany characters (including markup)\n]]>
  113. processing instruction
  114. <?PI-target ?>
  115. conditional section-IGNORE
  116. <![IGNORE[\nmarkup declarations\n]]>
  117. conditional section-INCLUDE
  118. <![INCLUDE[\nmarkup declarations\n]]>
  119. comments
  120. <!-- comments -->