Appendix B. XML Primer
Ant build files are written in XML, so Ant users must understand the language. Here’s a brief introduction to basic XML.
Extended Markup Language (XML) provides a way of representing structured data that’s somewhat readable by both humans and programs. It isn’t the easiest of representations for either party, but it lets people write structured files that machines can parse. The strength of XML is that many tools can work with the XML without knowing what the final use is. Once you’ve learned XML, you can recognize and navigate almost any XML document.
XML documents should begin with an XML prolog, which indicates the version and, optionally, the encoding of the XML file—usually the string <?xml version="1.0"?>. Next ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access