Home
Flashcards
Preview
DTD.txt
Home
Get App
Take Quiz
Create
DTD
Document type definition
The tag to declare a DTD in a XML document
<!DOCTYPE
mydoctype [
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
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.
Declare an element
<!ELEMENT
elementName (#PCDATA)>
What are the three types of tags in a DTD?
!ELEMENT and !ELEMENT LISTING !ATTLISTING that shows the list of elements in a tag.
Declare an attribute in DTD
<!ATTLIST
elementname attributename CDATA >
Declare an element tag with nothing in it.
<!ELEMENT
MARKED EMPTY>
Declare an element tag that can contain anything
<!ELEMENT
elementName (#PCDATA)>
Author
dalbabes
ID
31835
Card Set
DTD.txt
Description
Oreilly
Updated
2011-03-15T21:22:56Z
Show Answers
Home
Flashcards
Preview