Discussion of XML 1.0 Recommendation

Now that you have an idea of how to read some of the information used in the XML Recommendation to define the components of XML, let's take a look at some actual definitions that are found in the specification.

First, we will look at how the specification defines whitespace.

You are probably familiar with whitespace in many shapes and forms. In fact, there is whitespace in between each of the words in this sentence. Whitespace in XML is denoted in the specification by an S. Whitespace can also consist of several different types of input. For example, a space (created with your spacebar), a tab, and a carriage return all produce whitespace in XML.

So, here's a look at the formal declaration for whitespace: ...

Get Special Edition Using XML, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.