DTD.txt

  1. DTD
    Document type definition
  2. The tag to declare a DTD in a XML document
    • <!DOCTYPE
    • mydoctype [
  3. The tag to declare an external DTD has 3 things, name the last 2
    Document type, as in your description of it (eg. banking, etc.) and rights (e.g. PUBLIC or SYSTEM), as well as location
  4. Names and definitions of the two types of "data" in a DTD element
    PCDATA and CDATA. Parsed character data will be parsed and character data will not.
  5. Declare an element
    • <!ELEMENT
    • elementName (#PCDATA)>


  6. What are the three types of tags in a DTD?
    !ELEMENT and !ELEMENT LISTING !ATTLISTING that shows the list of elements in a tag.
  7. Declare an attribute in DTD
    • <!ATTLIST
    • elementname attributename CDATA >


  8. Declare an element tag with nothing in it.
    • <!ELEMENT
    • MARKED EMPTY>


  9. Declare an element tag that can contain anything
    • <!ELEMENT
    • elementName (#PCDATA)>


    
Author
dalbabes
ID
31835
Card Set
DTD.txt
Description
Oreilly
Updated