官术网_书友最值得收藏!

Summary

In this chapter we demonstrated the DOM and SAX approaches to parsing an XML document. DOM parsing is suitable if document nodes are to be modified and navigated with random access. SAX parsing is useful if you want to go through the XML document once, responding to nodes as you encounter them. If you want to create an encapsulation of the XML document as a DOM tree that you can manipulate later, you need to use DOM parsing.

In this chapter we created an XML document using the JAXP API. In the next chapter, we will create an XML document from an XML Schema. First, we will create an XML Schema in JDeveloper and subsequently we will instantiate an XML document from the XML Schema.

主站蜘蛛池模板: 黄陵县| 资溪县| 大竹县| 聂拉木县| 桓台县| 永德县| 舒城县| 明星| 资中县| 蒙城县| 沙坪坝区| 包头市| 巴塘县| 白城市| 静乐县| 房山区| 聊城市| 军事| 韩城市| 黔南| 内黄县| 皋兰县| 乌拉特后旗| 镇江市| 镇赉县| 越西县| 天门市| 旬邑县| 霍城县| 泰兴市| 七台河市| 犍为县| 绥中县| 禹城市| 册亨县| 贵溪市| 吉隆县| 南澳县| 新泰市| 西平县| 高清|