Shared Flashcard Set

Details

XML-DTD
DTD
40
Computer Science
Professional
05/15/2014

Additional Computer Science Flashcards

 


 

Cards

Term
What means PCDATA?
Definition
Means parsed character data.
Term
What is the character data?
Definition
the text found between the start tag and the end tag of an XML element.
Term
Which characters should not include in the parsed character data?
Definition
&, <, or >
Term
How do you represent &, in the parsed character data?
Definition
with the entities: & < >
Term
Whats means CDATA?
Definition
Means Character DATA.
Term
What is use for CDATA?
Definition
Is text that will NOT be parsed by a parser. Tags inside the text will NOT be treated as markup and entities will not be expanded.
Term
How do you declare elements?
Definition

or
Term
How do you declare an empty element?
Definition
With the keyword EMPTY.
Term
How do you define elements with Parsed Character Data?
Definition
Term
How do you declare elements with any Contents? (can contain any combination of parsable data)
Definition
Term
How do you declare Elements with childrens (sequences)?
Definition
Term
What do you have to do when you declared a sequence of children separated by comas?
Definition
When children are declared in a sequence separated by commas, the children must appear in the same sequence in the document.
Term
The children can also have children?
Definition
Yes
Term
How do you declare only one occurence of the element?
Definition
Term
How do you declare minimum, one ocurrence of the element?
Definition
Using "+".
Term
How do you declare zero or more occurrences of an element?
Definition
Using "*"
Term
How do you declare zero or one occurrences of an element?
Definition
Using "?"
Term
How do you declare either/or Content?
Definition
Using "|"
Term
How do you declare ATTRIBUTES?
Definition
Using the keyword ATTLIST example ...
Term
For attribute type declaration set the value as a character data.
Definition
CDATA
Term
For attribute type declaration the value must be one from an enumerated list.
Definition
(en1,en2,..)
Term
For attribute type declaration set a unique value.
Definition
ID
Term
For attribute type declaration set the value is the id of another element.
Definition
IDREF
Term
For attribute type declaration set the value as other list of other IDs
Definition
IDREFS
Term
For attribute type declaration set the value as a valid XML name.
Definition
NMTOKEN
Term
For attribute type declaration set the value as is a list of valid xml names
Definition
NMTOKENS
Term
For attribute type declaration set the value as an entity
Definition
ENTITY
Term
For attribute type declaration set the value as a list of entities.
Definition
ENTITIES
Term
For attribute type declaration set the value as a name of notation
Definition
NOTATION
Term
For attribute type declaration set the value is a predefined xml value
Definition
xml
Term
For an attribute type declaration set the attribute-value as Requiered
Definition
#REQUIERED
Term
For an attribute type declaration set the attribute-value as Implied
Definition
#IMPLIED
Term
For an attribute type declaration set the attribute-value as fixed
Definition
#FIXED value
Term
Write a DTD for a "square" element, defined to be an empty with a "width" attribute of type CDATA and a default value of 0.
Definition

Term
Syntax for an internal Entity declaration.
Definition
Term
Create an "writer" entity with "Donald" value.
Definition
Term
How do you call an Entity inside a XML document?
Definition
&entityName;
Term
Syntax for declaring an external entity declaration
Definition
Term
Which object in javaScript allows you to retrieve the error code, the error text, or even the line that caused the error.
Definition
parseError object.
Term
On javaScript how you can turn off validation can be turned off by setting the XML parser's validateOnParse="false".
Definition
By setting the XML's parser field: validateOnParse="false";
Supporting users have an ad free experience!