mozilla
您的搜索结果

    XPath

    XPath stands for XML Path Language, it uses a non-XML syntax that provides a flexible way of addressing (pointing to) different parts of an XML document. As well as this, it can also be used to test addressed nodes within a document to determine whether they match a pattern or not.

    XPath代表XML Path Language。它使用一种与XML不同的语法,可以灵活的在XML文档中寻找节点,同时它也可以用来测试某些节点是否满足格式要求。

    XPath is mainly used in XSLT, but can also be used as a much more powerful way of navigating through the DOM of any XML based language documents, such as HTML and XUL, instead of relying on the document.getElementById method, the element.childNodes properties, and other DOM Core features. The following is vague: This is especially useful within extensions, particularly regarding to overlays.

    XPath主要用于XSLT,但这绝对不是它的唯一用途,我们可以在任何基于XML的文档中使用XPath来遍历DOM,比如HTML和XUL。在以前,我们都是通过DOM的核心功能“document.getElementById方法”和“element.childNodes属性”来实现相同功能的。现在我们又多了一种选择。

    XPath uses a path notation (as in URLs) for navigating through the hierarchical structure of an XML document. It uses a non-XML syntax so that it can be used in URIs and XML attribute values.

    XPath使用一种类似URL的路径表示法来表示XML文档内部的层叠结构,因为它没有使用XML的语法,所以也可以表示URI地址和XML属性的值。

    文档

    在JavaScript中使用XPath
    介绍一种在XSLT以外使用XPath的方法。
    XPath:Axes
    List and definition of the axes defined in the XPath specification. Axes are used to describe the relationships between nodes.
    XPath:Functions
    List and description of the core XPath functions and XSLT-specific additions to XPath.
    Transforming XML with XSLT
    XSLT uses XPath to address code segments in a XML document that it wishes to transform.
    Using XPath
    Code snippets and examples of using DOM bindings for XPath.
    XSLT & XPath Tutorial
    The TopXML XSLT tutorial introduces you to the basics of XSLT & XPath concepts, syntax, and programming.
    What is XSLT?
    This extensive introduction to XSLT and XPath assumes no prior knowledge of the technologies, and guides the reader through background, context, structure, concepts and introductory terminology.

    View All...

    工具

    Online XPath evaluator
    XPather
    Feature rich XPath generator, editor, inspector and simple extraction tool (FireFox Add-On).
    XPath Checker
    An interactive editor for XPath expressions (FireFox Add-On).
    SketchPath
    A Graphical XPath Builder/Debugger(.NET).

    相关话题

    XSLT, XQuery, XML, DOM, JSONPath

     

    文档标签和贡献者

    标签: 
    此页面的贡献者有: ziyunfei, fscholz, Cuimingda, JarodWang
    最后编辑者: ziyunfei,