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

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.

主站蜘蛛池模板: 新安县| 沛县| 沿河| 大庆市| 肥西县| 虹口区| 方正县| 开原市| 普兰店市| 彩票| 开阳县| 襄城县| 曲麻莱县| 黄平县| 乡宁县| 锦州市| 含山县| 抚顺市| 兰坪| 昭通市| 辽阳县| 云浮市| 天津市| 诏安县| 海晏县| 湖口县| 元谋县| 札达县| 福鼎市| 邹城市| 澄迈县| 双柏县| 三穗县| 延川县| 西充县| 万荣县| 东乌珠穆沁旗| 沙坪坝区| 咸阳市| 南漳县| 弥渡县|