[XPath] XPath 辅导

上一篇 / 下一篇  2019-08-08 10:21:24 / 天气: 晴朗 / 心情: 平静 / 个人分类:网站建设

[转载]原文链接
一 XPath Introduction (什么是XPath)
XPath is a major element in the XSLT standard.
XPath 是XSLT标准中一个非常重要的组成不分。

XPath can be used to navigate through elements and attributes in an XML document.
XPath 可以用来对XML文档中的元素和属性进行导航。

XPath
  • XPath stands forXML Path Language;
  • XPath uses "path like" syntax toidentify and navigate nodesin an XML document;
  • XPath containsover200 built-in functions;
  • XPath isa major elementin the XSLT standard;
  • XPath isa W3C recommendation.

二 XPath Path Expressions (XPath 路径表达式)
1. XPath uses path expressions to select nodes or node-sets in an XML document.
XPath 利用路径表达式选择XML文档中的节点或者节点集合。
2. These path expressions look very much like the path expressions you use with traditional computer file systems。
路劲表达式看起来非常像传统电脑文件系统的路径表达式。
Folders

XPath Standard Functions (XPath标准函数)
1. There are functions forstringvalues,numericvalues,booleans,date and timecomparison,node manipulation,sequence manipulation, and much more.
2. Today XPath expressions can also be used inJavaScript,Java,XML Schema,PHP,Python,CandC++, and lots of other languages. --- 支持多语言

四 XPath is Used in XSLT(XPath 在XSLT中使用)
五 XPath is a W3C Recommendation (W3C强烈推荐XPath)
最新版本的XPath:
XPath 3.0became a W3C Recommendation on April 8, 2014.


TAG:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

日历

« 2019-08-19  
    123
45678910
11121314151617
18192021222324
25262728293031

数据统计

  • 访问量: 1317
  • 日志数: 32
  • 图片数: 1
  • 建立时间: 2019-01-22
  • 更新时间: 2019-08-08

RSS订阅

Open Toolbar