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

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.

主站蜘蛛池模板: 永平县| 恩施市| 望都县| 盐津县| 安岳县| 抚顺市| 阳山县| 淳安县| 神池县| 万安县| 乐昌市| 四川省| 云浮市| 桦川县| 逊克县| 汝城县| 丰台区| 阿勒泰市| 滨州市| 鲁山县| 成安县| 通道| 大余县| 湖南省| 诏安县| 恩施市| 临猗县| 新化县| 祁东县| 北辰区| 安丘市| 聂拉木县| 凤凰县| 炎陵县| 六盘水市| 抚顺市| 唐海县| 上思县| 吉林市| 万州区| 白水县|