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

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.

主站蜘蛛池模板: 武强县| 黄大仙区| 二手房| 资阳市| 七台河市| 东乌| 苏尼特左旗| 日土县| 建湖县| 远安县| 澄城县| 体育| 盐山县| 衡东县| 龙州县| 韶山市| 革吉县| 定结县| 江口县| 三台县| 文登市| 临清市| 佳木斯市| 托克逊县| 沅陵县| 资源县| 新密市| 高安市| 顺义区| 宣恩县| 太谷县| 封开县| 格尔木市| 巨野县| 阿克陶县| 金堂县| 铅山县| 龙山县| 浦东新区| 阜平县| 晋江市|