It also includes some extensions to XPath . Contains the XPath parser and evaluation engine. This use of XPath is described in XSLT. One of the most common uses for XPath is to extract data. 它集成了XPath 并提供全力支持DOM,JAXP和Java平台。 It's integrated with XPath and offers full support for DOM, JAXP and Java platform.
XPath 1.0规范在几个领域中受到了限制或混淆,需要进行一番整改。The XPath 1.0 specification is limited or confusing in several areas and is in need of a facelift. 简而言之,XPath 是个路径,它为网页HTML的某个部分指明了方向。 Put simply, an XPath is a path, a set of directions to a certain part of the HTML of a webpage. DavidWest2004年出版了多少书)”,直接通过XPath 就可以得到答案。 You may ask“How many books were published by David West in 2004?” and get an answer, just via XPath . 它与XPath 集成起来,对DOM、JAXP和Java平台提供全面支持。 It's integrated with XPath and offers full support for DOM, JAXP and Java platform. 它们都使用相同的数据模型,类型系统和库,并且都包括了XPath 2.0作为子语言。 They share the same data model, type system, and function library, and both include XPath 2.0 as a sublanguage. XQuery1.0和XPath 2.0分享相同的数据模型,并支持相同的函数和运算符。 XQuery 1.0 and XPath 2.0 share the same data model and support the same functions and operators. 还可以插入你自己的XPath ,从下拉式菜单获取数据以及网页上标签页里面的数据。 It is also possible to insert your own XPath to get data from drop down menus and data that is in tabs on a webpage. Xpath 使用一个简练的、非XML的句法以方便在URL和XML属性之中的使用。The XPath uses a compact, non-XML syntax to facilitate use of XPath within URIs and XML attribute values. 其他有关文件,例如XPath 和XLinkWorkingDrafts(XLink工作草案),作为必要的参考。 Other relevant documents, such as the XPath and XLink Working Drafts, are referenced as necessary. XPath 1.0定义四种数据型别:节点型(本身无序的节点组)、字符串型、数字型、与布尔型。XPath 1.0 defines four data types: node-sets(sets of nodes with no intrinsic order), strings, numbers and booleans. XPointer可单独使用或者与XPath一起使用,XPath 是在XML文件中定位数据的另一种语言。 XPointer can be used alone or together with XPath , another language for locating data within an XML document. LINQtoXML的查询功能在功能上(尽管不是在语法上)与XPath 和XQuery具有可比性。 The query capabilities of LINQ to XML is comparable in functionality(although not in syntax) to XPath and XQuery. 因此,如果你有使用XPath 1.0的经历,你可以不用从头学起。 Therefore, if you have experience using XPath 1.0, you can capitalize on your skills and do not have to learn an entirely new query language. 我们方便地使用它们来精确地指定使用XPath 的组件,并与之交互来达到测试的目的。 We use them to precisely and conveniently specify a component using XPaths and interact with it for the purpose of the test. 在公式中使用的每个XPath 表达式是值、函数和运算符的组合,可计算为单个值。 Each XPath expression that is used in a formula is a combination of values, functions, and operators that evaluates to a single value. 同时DOM3级也对DOM核心进行了扩展,开始支持XMl1.0规范,涉及XMLInfoset、XPath 和XMLBase。 In Level 3, the DOM Core is extended to support all of XML 1.0, including XML Infoset, XPath , and XML Base. 这种模型的例子有XPath 数据模型、XMLInfoset以及DOM所用的模型和SAX1.0的事件。 Examples of such models are the XPath data model, the XML Infoset, and the models implied by the DOM and the events in SAX 1.0. 这包括功能例如查找外部数据、xpath 提取、路径行为、响应消息的转换,等等。 This includes capabilities such as external data lookup, xpath extraction, route actions, transformations of response messages, and so on. XPath 是努力给XSL转换和XPointer的共享功能提供一个共用的句法及语义的结果。XPath is the result of an effort to provide a common syntax and semantics for functionality shared between XSL Transformations and XPointer. 因此,如果您有使用XPath 1.0的经历,就可以优化您的技能而不必学习全新的查询语言。 Therefore, if you have experience using XPath 1.0, you can capitalize on your skills and do not have to learn an entirely new query language. SqlXml命名空间中找到,它们添加了执行XPath 查询和XML模板文件以及把XSLT转换应用到数据的能力。 SqlXml namespace and add the ability to execute XPath queries and XML Template files, as well as apply XSLT transformation to data. 主题涉及向XPath 1.0中添加扩展函数、展望XPath 2.0以及使用XSLT中的扩展函数。 Topics include adding extension functions to XPath 1.0, a look forward to XPath 2.0, and using extension functions in XSLT. 它的编辑特性和对schema以及DTD开发,还有XSLT,XQuery和XPath 开发的支持使它成为一个终极. Its editing features and support for both schema and DTD development along with XSLT, XQuery and XPath development make it an ultimate XML tool. 借助XPath 和XQuery,不再需要将数据由XML转换为一种编程语言,然后使用这种语言的工具来搜索数据。 With XPath and XQuery, you're not stuck pulling data from XML into a programming language, and then using that language's tools to search the data. 谷歌今天发布了WickedGoodXPath ,这是一个DOMLevel3XPath 规范的纯JavaScript实现。 We are proud to release Wicked Good XPath , a Google-authored pure JavaScript implementation of the DOM Level 3 XPath specification.
Display more examples
Results: 91 ,
Time: 0.015
中文
Bahasa indonesia
日本語
عربى
Български
বাংলা
Český
Dansk
Deutsch
Ελληνικά
Español
Suomi
Français
עִברִית
हिंदी
Hrvatski
Magyar
Italiano
Қазақ
한국어
മലയാളം
मराठी
Bahasa malay
Nederlands
Norsk
Polski
Português
Română
Русский
Slovenský
Slovenski
Српски
Svenska
தமிழ்
తెలుగు
ไทย
Tagalog
Turkce
Українська
اردو
Tiếng việt