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

Chapter 4. XPath

As mentioned in the earlier chapters, XML documents can be used for the transfer of data. The data in an XML document may be retrieved either with the JAXP (Java API for XML Processing) DOM and SAX APIs, or with the JAXP XPath API. Addressing an XML document with XPath has the advantage that a single node may be selected directly without iterating over a node set. With SAX and DOM APIs, node lists have to be iterated over to access a particular node. Another advantage of navigating an XML document with XPath is that an attribute node may be selected directly. With DOM and SAX APIs, an element node has to be selected before an element attribute can be selected. In this chapter we shall discuss XPath support in JDeveloper.

主站蜘蛛池模板: 天峻县| 依兰县| 乳山市| 商城县| 宁强县| 通榆县| 昌宁县| 遂平县| 乌兰察布市| 繁昌县| 大丰市| 蚌埠市| 晋中市| 马龙县| 郸城县| 南汇区| 平罗县| 仁寿县| 望奎县| 尼玛县| 嫩江县| 古蔺县| 大兴区| 赤水市| 中阳县| 文昌市| 英吉沙县| 福州市| 噶尔县| 定陶县| 阿克苏市| 雅江县| 三穗县| 扎赉特旗| 始兴县| 卓尼县| 屯门区| 岢岚县| 利辛县| 阳新县| 荥经县|