站内搜索: 请输入搜索关键词
当前页面: 图书首页 > XML and Java: Developing Web Applications, Second Edition

XML and Java: Developing Web Applications, Second Edition

[ directory ] Previous Section Next Section

3.7 Summary

In this chapter, we covered how to build a DOM tree structure using a DOM-compliant XML processor. We also discussed the importance of making sure that the DOM tree being built is valid, and we showed a simple program to validate the generated DOM tree. The DOM tree was serialized as an XML document using methods provided by Xerces. Finally, we explained the treatment of whitespace when generating an XML document from a generated DOM tree.

This chapter concludes the coverage of the basic programming skills for parsing and generating XML documents using the standard APIs. The next chapter shows advanced topics about DOM tree manipulation and gives more complex examples.

    [ directory ] Previous Section Next Section