
上QQ阅读APP看书,第一时间看更新
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "The XSDValidator
class is used to validate an XML document that has been built into a DOM tree."
A block of code will be set as follows:
InputStream inputStream=new FileInputStream(new File("catalog.xsd")); InputSource inputSource=new InputSource(inputStream); XMLSchema schema = builder.build(inputSource); xsdValidator.setSchema(schema);
Any command-line input and output is written as follows:
dbxml>createContainer catalog.dbxml
New terms and important words are introduced in a bold-type font. Words that you see on the screen, in menus or dialog boxes for example, appear in our text like this: "In the New Gallery window select Categories | General and Items | Generic Application."