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
2
Q
What is CDATA?
A
Hold character data that remains unparsed by the XML Processor
3
Q
What is mixed content?
A
- An element may contain a mixture of sub-elements and PCDATA
- Mixed-content data is not typically generated from databases
- It is needed for consistency with HTML
4
Q
What is the header tag?
A
•You can leave out the encoding attribute and the processor will use the UTF-8 default