XML Fundamentals Flashcards

1
Q

Blank is a markup language that you can use to structure and format any kind of data that have multiple purposes

A

XML

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

XML has multiple purposes. Name 4:

A

data storage
data retrieval
data mining
data processing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Extensible markup language (XML) is a markup language proposed by the blank.

A

World Wide Web Consortium (W3C)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

XML, unlike HTML, is blank because it is used by other applications beyond web browsers.

A

case-sensitive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Other XML applications require blank (including case sensitivity and formal syntax) of terms.

A

formal definition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

XML is a way to attach information to blank.

A

text

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Like all other markup languages, XML behaves like a blank that you might use to highlight text in different colors to distinguish key data points.

A

highlighter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Note that XML tags can be blank

A

nested

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Nesting is indicated by an blank so the web designer can easily visualize where content will be nested.

A

indentation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

XML is considered extensible because it is more blank than HTML. With HTML, tags are specific and fixed. With XML, you can invent whatever tag categories you wish and add as many tags as you want to highlight specific information in your code.

A

versatile

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The inclusion or removal of blank will not affect the processing of the XML file.

A

XML elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

XML tags follow one of what two formats

A

Element tags:
Self-closing tags:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What kind of XML tag
<tag_name, attributes><text></tag_name>
Example: <city>"LA"</city></text>

A

Element Tags

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What kind of XML tag?
<tag_name, attributes />
Example: <hierarchy></hierarchy>

A

Self-closing tag

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

You will notice that both XML formats include what two elements:

A

a tag_name, which is any unique identifier for a tag kind

attributes, which are an optional list of pairs attribute_name=”attribute_value”.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

XML is just blank wrapped in tags.

A

information

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

XML was designed to blank - with focus on what data is

A

carry data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

HTML was designed to blank - with focus on how data looks

A

display data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

XML tags are not blank like HTML tags are

A

predefined

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

With XML, the author must define both the blank and the blank.

A

tags and document structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

XML simplifies what four things?

A

data sharing
data transport
platform changes
data availability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

XML stores data in blank. This provides a software- and hardware-independent way of storing, transporting, and sharing data.

A

plain text format

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

XML Documents Must Have a blank Element

A

Root

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

XML documents must contain one root element that is the blank of all other elements

A

parent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Name the basic XML syntax
root> .....
26
The XML blank is optional. If it exists, it must come first in the document.
prolog
27
XML documents can contain blank, like Norwegian øæå or French êèé. To avoid errors, you should specify the encoding used, or save your XML files as blank
international characters UTF-8.
28
blank is the default character encoding for XML documents.
UTF-8
29
In XML, it is illegal to omit the blank. All elements must have a blank:
closing tag
30
The XML prolog does not have a blank! This is not an error. The prolog is not a part of the XML document.
closing tag
31
Give the syntax for XML prolog
32
XML tags are blank. The tag is different from the tag .
case sensitive
33
Opening and closing tags must be written with the same blank
case
34
In XML, all elements must be properly blank within each other
nested
35
Properly nested or not - This text is bold and italic
Not
36
Properly nested or not - This text is bold and italic
Properly nested
37
XML elements can have attributes in name/value pairs just like in HTML. In XML, the attribute values must always be blank
quoted
38
Some characters have a blank in XML. If you place a character like "<" inside an XML element, it will generate an error because the parser interprets it as the start of a new element.
special meaning
39
To avoid this error, replace the "<" character with an blank
entity reference
40
entity reference for < less than
<
41
entity reference for > greater than
>
42
entity reference for & ampersand
&
43
entity reference for ' apostrophe
'
44
entity reference for " quotation mark
"
45
Name the syntax for making an XML comment
46
Blank in the middle of a comment are not allowed
Two dashes
47
XML does not truncate blank (HTML truncates multiple white-spaces to one single white-space)
multiple white-spaces
48
XML Stores New Line as blank
LF
49
XML documents that conform to the syntax rules above are said to be blank XML documents.
"Well Formed"
50
Even though XML is intended to blank , it can also be used as a framework to provide additional style to other markup languages like HTML.
store data
51
While there are some practical differences, in general, HTML follows the blank and principles.
XML structure
52
it is important to understand that HTML is specifically designed to blank that will be read and displayed by a web browser while XML provides a structure for data but is not intended to be blankl.
render content displayed
53
HTML or XML: It was written in 1993.
HTML
54
HTML or XML: It was released in 1996.
XML
55
HTML or XML: Hyper Text Markup Language
HTML
56
HTML or XML: stands for Extensible Markup Language.
XML
57
HTML or XML: static in nature.
HTML
58
HTML or XML: dynamic in nature.
XML
59
HTML or XML: developed by WHATWG
HTML
60
HTML or XML: developed by Worldwide Web Consortium.
XML
61
HTML or XML: termed as a presentation language
HTML
62
HTML or XML: neither termed as a presentation nor a programming language
XML
63
HTML or XML: a markup language
HTML
64
HTML or XML: framework to define markup languages
XML
65
HTML or XML: can ignore small errors
HTML
66
HTML or XML: does not allow errors
XML
67
HTML or XML: has an extension of .html and .htm
HTML
68
HTML or XML: has an extension of .xml
XML
69
HTML or XML: is not Case sensitive
HTML
70
HTML or XML: is Case sensitive.
XML
71
HTML or XML: tags are predefined tags
HTML
72
HTML or XML: tags are user-defined tags.
XML
73
HTML or XML: limited number of tags.
HTML
74
HTML or XML: tags are extensible
XML
75
HTML or XML: does not preserve white spaces
HTML
76
HTML or XML: White space can be preserved
XML
77
HTML or XML: tags are used for displaying the data.
HTML
78
HTML or XML: tags are used for describing the data not for displaying
XML
79
HTML or XML: closing tags are not necessary
HTML
80
HTML or XML: closing tags are necessary.
XML
81
HTML or XML: is used to display the data
HTML
82
HTML or XML: is used to store data
XML
83
HTML or XML: does not carry data it just displays it.
HTML
84
HTML or XML: carries the data to and from the database.
XML
85
HTML or XML: offers native object support
HTML
86
HTML or XML: the objects are expressed by conventions using attributes
XML
87
HTML or XML: document size is relatively small
HTML
88
HTML or XML: document size is relatively large as the approach of formatting and the codes both are lengthy
XML
89
HTML or XML: additional application is not required for parsing of JavaScript code
HTML
90
HTML or XML: DOM(Document Object Model) is required for parsing JavaScript codes and mapping of text.
XML
91
HTML or XML: tools used are: Visual Studio Code Atom Notepad++ Sublime Text
HTML
92
HTML or XML: tools used are: Oxygen XML XML Notepad Liquid Studio
XML