1·But the focus of the example is the use of stored information to access subdocuments using our good friend the SAX parser.
但是该示例的焦点在于存储信息的使用以用我们的好朋友sax语法分析器来访问子文档。
2·These special translation tags not only lend a logical organization to the XML structure, they also allow an application built around an XML parser to understand how to process the globalized data.
这些特殊的翻译标记不仅向XML结构提供了逻辑组织,而且允许围绕xml语法分析器构建应用程序,以理解如何处理全球化数据。
3·That's why, without a DTD, it's not safe for the parser to assume what whitespace means.
这就是为什么如果没有 DTD,而让语法分析器来假定空格的含义是不安全的。
4·Now, if you follow the method in Listing 3, your SAX code can hum along without even having to be recompiled, using different parser implementations as needed.
现在,如果使用“清单3”中的方法,那么SAX代码甚至不必进行重新编译就能运行,并根据需要使用不同的语法分析器实现。
5·In Listing 2, changing parser implementations simply involves changing a single class name.
在清单2中,更改语法分析器实现只涉及更改一个类名。