XML Flashcards

0
Q

Features of XML

A

Generalized markup language - defines its own tags

Contains rules and self-describing

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

What is XML?

A

Extensible Markup Language

Store & transport data

To structure and describe data that can be understood by other applications

Separate user interface from data

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

Logical structure of XML

A

Declaration
Elements
Comments

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

Well Formed XML

A

XML document must have a root element ( only one)
XML elements must have a closing tag
XML tags are CASE SENSITIVE (except declaration)
XML elements must be properly nested
XML attribute values must be quoted

Comments <!--This is a comment-->
Entity references (No < and &)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

XML Declaration

A

//

Identifies the version to which XML conforms

No closing tag

If other attributes are declared, this is the order

Must be in lower case (except die the encoding declarations)

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