Appendix A: Answers to Exercises

Chapters 1 through 10 close with an “Exercises” section that tests your understanding of the chapter’s material. The answers to those exercises are presented in this appendix.

Chapter 1 : Introducing XML

1. XML (eXtensible Markup Language ) is a metalanguage for defining vocabularies (custom markup languages), which is the key to XML’s importance and popularity.

2. The answer is true: XML and HTML are descendants of SGML.

3. XML provides the XML declaration, elements and attributes, character references and CDATA sections, namespaces, and comments and processing instructions language features for use in defining custom markup languages.

4. The XML declaration is special markup that informs an XML parser that the ...

Get Java XML and JSON now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.