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

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.

主站蜘蛛池模板: 清水河县| 台南县| 江油市| 龙州县| 民权县| 汝阳县| 射洪县| 江山市| 得荣县| 嵊泗县| 墨竹工卡县| 乌兰浩特市| 通江县| 宜良县| 金平| 四川省| 宝应县| 乾安县| 鲜城| 赤壁市| 尼木县| 铁岭县| 德州市| 米泉市| 五河县| 永嘉县| 谷城县| 浮山县| 湖南省| 巴南区| 双鸭山市| 崇文区| 龙口市| 西林县| 忻州市| 刚察县| 利辛县| 名山县| 论坛| 沧源| 德阳市|