Term
| XML is designed to
(select all that apply)
1. display data
2. Describe data
3. To focuss on what Data is |
|
Definition
|
2. Describe data
3. To focuss on what Data is
|
|
|
Term
| XML is a cross-platform, software and hardware independent tool for transmitting information. Thus
XML is a ______ to HTML
(Complement/Replacement) |
|
Definition
|
|
Term
| XML was designed to describe data in order to
s____,
c_____, and
e_____ data.
XML was not designed to display data. |
|
Definition
|
|
Term
| Since XML is i_________ of hardware, software and application, you can make your data available to other than only standard HTML browsers |
|
Definition
|
|
Term
|
The character encoding ISO-88591
is for what character set? |
|
Definition
|
|
Term
|
What is the character encoding set for Latin-1/West European. |
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Tove
Jani
What is the attribtue of the root element? |
|
Definition
|
date , its value is "12/11/2002" and must be quoted.
|
|
|
Term
| with XML, CR/LF is converted to LF
what is LF? |
|
Definition
|
|
Term
| Adding extra information, or elements in the XML to produce the same output makes XML ---E______ |
|
Definition
|
an Extensible Markup Language
|
|
|
Term
| Introduction to XML
What is HTML
What is XML
chapter element has what type of content?
1. mixed
2. simple
3. empty. |
|
Definition
|
mixed, it has both text and other elements
|
|
|
Term
| What is the attribute is the person element?
Are these both legal? |
|
Definition
|
|
Term
| In this example ___ i used as an attribute in the first, but an element in next example.
Anna
Smith
female
Anna
|
|
Definition
|
|
Term
| Which is better to use, attributes or elements? |
|
Definition
|
It depends. Generally try to avoid them if you can use elements.
attributes cannot contain multiple values (child elements can)
attributes are not easily expandable (for future changes)
attributes cannot describe structures (child elements can)
attributes are more difficult to manipulate by program code
attribute values are not easy to test against a Document Type Definition (DTD) - which is used to define the legal elements of an XML document
|
|
|
Term
| XML with correct syntax is
(1)Well Formed XML.
(2) Valid XML |
|
Definition
|
|
Term
| XML validated against a DTD is
(1)Well Formed XML
(2)Valid XML |
|
Definition
|
|
Term
| XML DTD A DTD defines the legal ______ of an XML document.
It stands for _____________ |
|
Definition
|
|
Term
| Fill in the blanks in this dtd
]>
|
|
Definition
|
to,from which are the child elements of the root element note.
|
|
|
Term
| PCDATA is text that will be _____.
CDATA means ______ data and not parsed. |
|
Definition
|
|
Term
| Elements delcared with teh category keyword ____ can contain any combination of parsable data.
|
|
Definition
|
|
Term
|
Definition
|
|
Term
| The example declaration above declares that the child element message must occur once, and only once inside the "note" element.
|
|
Definition
|
|
Term
| Declaring minimum one occurrence of the same element
|
|
Definition
|
|
Term
| Declaring zero or more occurrences of the same element
|
|
Definition
|
|
Term
| Declaring zero or one occurrences of the same element
|
|
Definition
|
|
Term
| Declaring either/or content
example:
The example above declares that the "note" element must contain a "to" element, a "from" element, a "header" element, and either a "message" or a "body" element. |
|
Definition
|
|
Term
| XML statement
Convert and declare the attribute in the DTD.
i.e. |
|
Definition
|
|
Term
| DTD:
Valid XML:
Valid XML:
Why use IMPIED? |
|
Definition
|
Use the #IMPLIED keyword if you don't want to force the author to include an attribute, and you don't have an option for a default value.
|
|
|
Term
| DTD:
Valid XML:
Is this XML valid and why? |
|
Definition
|
Syntax is incorrect. Invalid, we need a value , needs to be quoted , since it is required,
|
|
|
Term
| What is the DTD for the entity delcaration for the following, assuming the value is "Donald Duck"
&writer |
|
Definition
|
|
Term
| _________ is a description of how an HTML or XML document is represented in an object-oriented fashion. |
|
Definition
|
Document Object Model (DOM
|
|
|