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
Q

Name the basic XML syntax

A

root>

<child>
<subchild>.....</subchild>
</child>

</root>

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

The XML blank is optional. If it exists, it must come first in the document.

A

prolog

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

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

A

international characters
UTF-8.

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

blank is the default character encoding for XML documents.

A

UTF-8

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

In XML, it is illegal to omit the blank. All elements must have a blank:

A

closing tag

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

The XML prolog does not have a blank! This is not an error. The prolog is not a part of the XML document.

A

closing tag

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

Give the syntax for XML prolog

A

<?xml version=”1.0” encoding=”UTF-8”?>

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

XML tags are blank. The tag <Letter> is different from the tag <letter>.</letter></Letter>

A

case sensitive

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

Opening and closing tags must be written with the same blank

A

case

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

In XML, all elements must be properly blank within each other

A

nested

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

Properly nested or not -
<b><i>This text is bold and italic</b></i></b>

A

Not

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

Properly nested or not -
<b><i>This text is bold and italic</i></b>

A

Properly nested

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

XML elements can have attributes in name/value pairs just like in HTML.

In XML, the attribute values must always be blank

A

quoted

38
Q

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.

A

special meaning

39
Q

To avoid this error, replace the “<” character with an blank

A

entity reference

40
Q

entity reference for < less than

A

<

41
Q

entity reference for > greater than

A

>

42
Q

entity reference for & ampersand

A

&

43
Q

entity reference for ‘ apostrophe

A

'

44
Q

entity reference for “ quotation mark

A

"

45
Q

Name the syntax for making an XML comment

A

<!-- This is a comment -->

46
Q

Blank in the middle of a comment are not allowed

A

Two dashes

47
Q

XML does not truncate blank (HTML truncates multiple white-spaces to one single white-space)

A

multiple white-spaces

48
Q

XML Stores New Line as blank

A

LF

49
Q

XML documents that conform to the syntax rules above are said to be blank XML documents.

A

“Well Formed”

50
Q

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.

A

store data

51
Q

While there are some practical differences, in general, HTML follows the blank and principles.

A

XML structure

52
Q

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.

A

render content
displayed

53
Q

HTML or XML:
It was written in 1993.

A

HTML

54
Q

HTML or XML:
It was released in 1996.

A

XML

55
Q

HTML or XML:
Hyper Text Markup Language

A

HTML

56
Q

HTML or XML:
stands for Extensible Markup Language.

A

XML

57
Q

HTML or XML:
static in nature.

A

HTML

58
Q

HTML or XML:
dynamic in nature.

A

XML

59
Q

HTML or XML:
developed by WHATWG

A

HTML

60
Q

HTML or XML:
developed by Worldwide Web Consortium.

A

XML

61
Q

HTML or XML:
termed as a presentation language

A

HTML

62
Q

HTML or XML:
neither termed as a presentation nor a programming language

A

XML

63
Q

HTML or XML:
a markup language

A

HTML

64
Q

HTML or XML:
framework to define markup languages

A

XML

65
Q

HTML or XML:
can ignore small errors

A

HTML

66
Q

HTML or XML:
does not allow errors

A

XML

67
Q

HTML or XML:
has an extension of .html and .htm

A

HTML

68
Q

HTML or XML:
has an extension of .xml

A

XML

69
Q

HTML or XML:
is not Case sensitive

A

HTML

70
Q

HTML or XML:
is Case sensitive.

A

XML

71
Q

HTML or XML:
tags are predefined tags

A

HTML

72
Q

HTML or XML:
tags are user-defined tags.

A

XML

73
Q

HTML or XML:
limited number of tags.

A

HTML

74
Q

HTML or XML:
tags are extensible

A

XML

75
Q

HTML or XML:
does not preserve white spaces

A

HTML

76
Q

HTML or XML:
White space can be preserved

A

XML

77
Q

HTML or XML:
tags are used for displaying the data.

A

HTML

78
Q

HTML or XML:
tags are used for describing the data not for displaying

A

XML

79
Q

HTML or XML:
closing tags are not necessary

A

HTML

80
Q

HTML or XML:
closing tags are necessary.

A

XML

81
Q

HTML or XML:
is used to display the data

A

HTML

82
Q

HTML or XML:
is used to store data

A

XML

83
Q

HTML or XML:
does not carry data it just displays it.

A

HTML

84
Q

HTML or XML:
carries the data to and from the database.

A

XML

85
Q

HTML or XML:
offers native object support

A

HTML

86
Q

HTML or XML:
the objects are expressed by conventions using attributes

A

XML

87
Q

HTML or XML:
document size is relatively small

A

HTML

88
Q

HTML or XML:
document size is relatively large as the approach of formatting and the codes both are lengthy

A

XML

89
Q

HTML or XML:
additional application is not required for parsing of JavaScript code

A

HTML

90
Q

HTML or XML:
DOM(Document Object Model) is required for parsing JavaScript codes and mapping of text.

A

XML

91
Q

HTML or XML:
tools used are:

Visual Studio Code
Atom
Notepad++
Sublime Text

A

HTML

92
Q

HTML or XML:
tools used are:

Oxygen XML
XML Notepad
Liquid Studio

A

XML