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

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.

主站蜘蛛池模板: 从江县| 海淀区| 团风县| 偃师市| 神木县| 阜新| 盐池县| 朔州市| 红桥区| 林甸县| 漯河市| 临城县| 呼和浩特市| 平陆县| 安图县| 兴业县| 南涧| 石景山区| 揭阳市| 攀枝花市| 湘乡市| 西乡县| 呼玛县| 奉贤区| 乌兰察布市| 象山县| 丰镇市| 龙南县| 油尖旺区| 二手房| 井陉县| 赤峰市| 昌黎县| 九台市| 个旧市| 巨鹿县| 长治县| 澄城县| 斗六市| 双鸭山市| 上犹县|