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

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.

主站蜘蛛池模板: 邵阳县| 防城港市| 陆良县| 黎城县| 桓台县| 韶山市| 米易县| 炉霍县| 大方县| 永寿县| 萨迦县| 伊川县| 黑河市| 建昌县| 和龙市| 焦作市| 新民市| 峨山| 辛集市| 正安县| 汨罗市| 西乡县| 瑞金市| 台东县| 驻马店市| 靖安县| 信丰县| 德阳市| 霍城县| 宿松县| 祁阳县| 威远县| 北流市| 北碚区| 中江县| 金沙县| 惠东县| 铜陵市| 衢州市| 大庆市| 清水河县|