Conventions Used in This Book
Constant width is used
for:
Anything that might appear in an XML document, including element names, tags, attribute values, entity references, and processing instructions.
Anything that might appear in a program, including keywords, operators, method names, class names, and literals.
Constant width bold is used
for:
User input.
Emphasis in code examples and fragments.
Constant width italic is used
for:
Replaceable elements in code statements.
Italic is used for:
New terms where they are defined.
Emphasis in body text.
Pathnames, filenames, and program names. (However, if the program name is also the name of a Java class, it is written in constant-width font, like other class names.)
Host and domain names (cafeconleche.org).
Tip
This icon indicates a tip, suggestion, or general note.
Warning
This icon indicates a warning or caution.
Significant code fragments, complete programs, and documents are generally placed into a separate paragraph, like this:
<?xml version="1.0"?> <?xml-stylesheet href="person.css" type="text/css"?> <person> Alan Turing </person>
XML is case-sensitive. The PERSON element is not the same thing as the
person or Person element. Case-sensitive languages do not always allow authors to adhere to standard English grammar. It is usually possible to rewrite the sentence so the two do not conflict, and, when possible, we have endeavored to do so. However, on rare occasions when there is simply no way around the problem, we let standard English come up the ...
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