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

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.

主站蜘蛛池模板: 天峻县| 阿坝县| 静安区| 禹城市| 凤凰县| 沙湾县| 中阳县| 汉川市| 元阳县| 成都市| 罗平县| 宾川县| 龙门县| 玉溪市| 遵义县| 台州市| 修武县| 睢宁县| 富顺县| 玉田县| 团风县| 华蓥市| 类乌齐县| 获嘉县| 长寿区| 河北区| 喀喇| 景东| 台北县| 中卫市| 华亭县| 汶川县| 砀山县| 盘锦市| 武邑县| 会宁县| 民勤县| 定西市| 高安市| 新平| 淮阳县|