XML Flashcards

1
Q

XML definition:

A

A markup language that is used to define rules for formatting documents in a way that is machine readable but is also highly readable by humans.

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

XML flexibility’s purpose :

A

XML allows the representation of arbitrary data structures which can be designed on the fly.

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

XML design purpose:

A

XML was designed to be a software and hardware-independent tool which can be used store and to transport data in a legible format.

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

The nature of tags in XML

A

tags are specified by the creator of the XML document to any standards they want to use.

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

How do we identify an XML Element?

A

Each opening tag, , has a matching closing tag, .

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

An XML document always forms a tree structure.

A

Sections can be embedded in others sections as shown.

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

XML attributes definition:

A

An attribute consists of a pair of terms separated by an equal sign.

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

XML attributes purpose:

A

supply extra information about the element they are associated with.

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

W3C specification for attibutes:

A

● cannot contain multiple values (elements can)
● cannot contain tree structures (elements can)
● are not easily expandable (for future changes)

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

XML: The current node

A

any arbitrary node that we choose. All other relationships derive from the current node. Each node can identify itself as self.

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

XML:A parent node

A

one level higher in the hierarchy than the node selected as current.

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

XML:A child node

A

always one level below its parent in the hierarchy.

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

XML:A sibling node

A

on the same level as the current node, under the same parent.

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

XML:An ancestor node

A

one in a direct path from the current node up through its parent, grandparent, great-grandparent, etc.

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

XML:A descendent node

A

is one in a direct path down from the current node in the hierarchy (i.e., a child, a child of a child, etc.)

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