{"json_modified": "2016-07-12T08:02:04.459722", "uuid": "089fded0-ba4e-4d6e-8c59-5b98e222f20c", "title": "Introduction to using XPath in JavaScript", "url": "/en-US/docs/Introduction_to_using_XPath_in_JavaScript", "tags": ["Transforming_XML_with_XSLT", "XSLT", "XML", "Extensions", "Add-ons", "add-ons", "XPath", "DOM", "Web Development"], "translations": [{"uuid": "ece3b5fb-d6f1-470b-8d43-96588bb62ff3", "title": "Introducci\u00f3n al uso de XPath en Javascript", "url": "/es/docs/Introduction_to_using_XPath_in_JavaScript", "tags": [], "summary": "Este documento describe la interfaz para usar XPath internamente en JavaScript, y desde sitios web. Mozila implementa una gran cantidad del DOM 3 XPath. Esto significa que las expresiones XPath pueden correrse en documentos HTML y XML.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2015-10-12T06:39:55", "review_tags": []}, {"uuid": "2fe60582-5d69-4a8b-9171-617dc038786c", "title": "Introduction \u00e0 l'utilisation de XPath avec JavaScript", "url": "/fr/docs/Introduction_%C3%A0_l'utilisation_de_XPath_avec_JavaScript", "tags": ["XSLT", "Transformations_XML_avec_XSLT", "D\u00e9veloppement_Web", "XML", "Extensions", "XPath", "DOM"], "summary": "Ce document d\u00e9crit l'interface pour utiliser XPath dans JavaScript, que ce soit en interne, dans les extensions et depuis les sites Web. Mozilla impl\u00e9mente une partie importante de DOM 3 XPath (en). Cela signifie que les expressions XPath peuvent \u00eatre utilis\u00e9es sur des documents HTML et XML.", "localization_tags": [], "locale": "fr", "last_edit": "2016-07-12T08:02:00", "review_tags": []}, {"uuid": "5726bdfc-784e-4a21-8d55-e8277ff6becc", "title": "Introduction to using XPath in JavaScript", "url": "/zh-CN/docs/Introduction_to_using_XPath_in_JavaScript", "tags": ["Extensions", "Transforming_XML_with_XSLT", "DOM", "XPath", "Web Development"], "summary": "\u8be5\u7bc7\u6587\u6863\u63cf\u8ff0\u4e86\u5982\u4f55\u5728\u6269\u5c55\u548c\u7f51\u7ad9\u5185\u90e8\u901a\u8fc7JavaScript\u8c03\u7528\u00a0XPath\u63a5\u53e3\u3002\u00a0Mozilla \u5b9e\u73b0\u4e86\u76f8\u5f53\u591a\u7684\u00a0DOM 3 XPath\uff0c\u610f\u5473\u7740Xpath\u8868\u8fbe\u5f0f\u5df2\u7ecf\u53ef\u4ee5\u5728HTML\u548cXML\u6587\u6863\u4e2d\u4f7f\u7528\u3002", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2015-11-26T21:29:38", "review_tags": []}], "modified": "2015-12-22T11:38:03", "label": "Introduction to using XPath in JavaScript", "localization_tags": [], "locale": "en-US", "id": 12408, "last_edit": "2015-12-22T11:38:00", "summary": "This document describes the interface for using XPath in JavaScript internally, in extensions, and from websites. Mozilla implements a fair amount of the DOM 3 XPath, which means that XPath expressions can be run against both HTML and XML documents.", "sections": [{"id": "document.evaluate", "title": "document.evaluate"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_Value", "title": "Return Value"}, {"id": "Implementing_a_Default_Namespace_Resolver", "title": "Implementing a Default Namespace Resolver"}, {"id": "Notes", "title": "Notes"}, {"id": "Specifying_the_Return_Type", "title": "Specifying the Return Type"}, {"id": "Simple_Types", "title": "Simple Types"}, {"id": "Example", "title": "Example"}, {"id": "Node-Set_Types", "title": "Node-Set Types"}, {"id": "Iterators", "title": "Iterators"}, {"id": "Iterator_Example", "title": "Iterator Example"}, {"id": "Snapshots", "title": "Snapshots"}, {"id": "Snapshot_Example", "title": "Snapshot Example"}, {"id": "First_Node", "title": "First Node"}, {"id": "First_Node_Example", "title": "First Node Example"}, {"id": "The_ANY_TYPE_Constant", "title": "The ANY_TYPE Constant"}, {"id": "Examples", "title": "Examples"}, {"id": "Within_an_HTML_Document", "title": "Within an HTML Document"}, {"id": "Evaluating_against_an_XML_document_within_an_Extension", "title": "Evaluating against an XML document within an Extension"}, {"id": "Note", "title": "Note"}, {"id": "Appendix", "title": "Appendix"}, {"id": "Implementing_a_User_Defined_Namespace_Resolver", "title": "Implementing a User Defined Namespace Resolver"}, {"id": "Implementing_a_default_namespace_for_XML_documents", "title": "Implementing a default namespace for XML documents"}, {"id": "Using_XPath_functions_to_reference_elements_with_a_default_namespace", "title": "Using XPath functions to reference elements with a default namespace"}, {"id": "Getting_specifically_namespaced_elements_and_attributes_regardless_of_prefix", "title": "Getting specifically namespaced elements and attributes regardless of prefix"}, {"id": "XPathResult_Defined_Constants", "title": "XPathResult Defined Constants"}, {"id": "See_also", "title": "See also"}, {"id": "Original_Document_Information", "title": "Original Document Information"}], "slug": "Introduction_to_using_XPath_in_JavaScript", "review_tags": []}