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

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.

主站蜘蛛池模板: 剑川县| 石城县| 嘉黎县| 黔南| 房产| 丹凤县| 名山县| 富锦市| 连南| 资兴市| 溧阳市| 桑植县| 武乡县| 临邑县| 宣化县| 汉川市| 宁安市| 宣威市| 高密市| 乌鲁木齐市| 高台县| 景德镇市| 隆回县| 收藏| 沙雅县| 藁城市| 天全县| 得荣县| 息烽县| 噶尔县| 聂荣县| 屏东市| 富锦市| 辽阳市| 盘锦市| 巴马| 比如县| 陆丰市| 灵璧县| 庆阳市| 松阳县|