Well-Formed & Valid XML Flashcards

1
Q

What is a Well-Formed XML Document?

A

1) Single Root Element
2) All Tags Are Matching
3) Tags are properly nested
4) Unique Attributes Within Elements
5) Has No Syntax Errors
6) Confers to W3C Standards

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

What is a Valid XML Document?

A

1) If the Document XML Is Well-Formed

2) It Confers to the DTD or Schema

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