XPath详细介绍(连载,抄来的)
XPath is a language for finding information in an XML document. XPath is used to navigate through elements and attributes in an XML document.
Xpath是一种能够在XML文档中寻找信息的语言。它通过XML文档中的元素和属性来进行导航。
--------------------------------------------------------------------------------
Xpath是一种能够在XML文档中寻找信息的语言。它通过XML文档中的元素和属性来进行导航。
--------------------------------------------------------------------------------
What You Should Already Know
你应具备的知识
Before you continue you should have a basic understanding of the following:
在你继续前你应该具备以下知识的基础:
HTML / XHTML
XML / XML Namespaces[命名空间]
--------------------------------------------------------------------------------
What is XPath?
什么是XPath?
XPath is a syntax for defining parts of an XML document
XPath 是针对XML文档部分内容定义的语法
XPath uses path expressions to navigate in XML documents
XPath 使用路径表达式在XML文档中导航
XPath contains a library of standard functions
XPath 包含了一系列标准函数
XPath is a major element in XSLT
XPath 在XSLT当中是一个主要的元素
XPath is a W3C Standard
XPath是W3C标准
--------------------------------------------------------------------------------