Conventions Used in This Book
Constant width is used for:
Code examples and fragments
Anything that might appear in an XML document, including element names, tags, attribute values, 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:
Emphasis in code examples and fragments
Italic is used for:
New terms where they are defined
Emphasis in body text
Pathnames, filenames, and program names
Host and domain names
Tip
This icon indicates a tip, suggestion, or general note.
Warning
This icon indicates a warning or caution.
Important
This icon indicates a situation where compatibility issues may cause surprises.
Significant code fragments, complete programs, and documents are generally placed into a separate paragraph like this:
for $prod as element(*,ProductType) in doc("catalog.xml")/catalog/*
order by $prod/name
return $prod/nameBecome 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