Lecture 3 - XML Flashcards

1
Q

Describe XML text?

A

XML has only one “basic” type – text

•XML text is called PCDATA
–(for parsed character data)
•It uses a 16-bit encoding

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

What is CDATA?

A

Hold character data that remains unparsed by the XML Processor

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

What is mixed content?

A
  1. An element may contain a mixture of sub-elements and PCDATA
  2. Mixed-content data is not typically generated from databases
  3. It is needed for consistency with HTML
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the header tag?

A

•You can leave out the encoding attribute and the processor will use the UTF-8 default

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