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

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.

主站蜘蛛池模板: 芜湖市| 富锦市| 威宁| 华阴市| 靖远县| 资阳市| 禹城市| 城市| 雷波县| 乐东| 平远县| 绍兴县| 和田市| 德江县| 南充市| 洪洞县| 铅山县| 疏附县| 松滋市| 留坝县| 息烽县| 寻乌县| 安康市| 家居| 大悟县| 葵青区| 大方县| 凤山县| 亳州市| 宜昌市| 固阳县| 乐业县| 泾阳县| 林芝县| 双江| 建瓯市| 贵定县| 芮城县| 娄烦县| 马山县| 建宁县|