aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/xpath
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/xpath')
-rw-r--r--files/zh-cn/web/xpath/comparison_with_css_selectors/index.html3
-rw-r--r--files/zh-cn/web/xpath/introduction_to_using_xpath_in_javascript/index.html3
2 files changed, 4 insertions, 2 deletions
diff --git a/files/zh-cn/web/xpath/comparison_with_css_selectors/index.html b/files/zh-cn/web/xpath/comparison_with_css_selectors/index.html
index c196e077e6..3a786a8123 100644
--- a/files/zh-cn/web/xpath/comparison_with_css_selectors/index.html
+++ b/files/zh-cn/web/xpath/comparison_with_css_selectors/index.html
@@ -1,7 +1,8 @@
---
title: Comparison of CSS Selectors and XPath
-slug: Web/CSS/CSS_Selectors/Comparison_with_XPath
+slug: Web/XPath/Comparison_with_CSS_selectors
translation_of: Web/XPath/Comparison_with_CSS_selectors
+original_slug: Web/CSS/CSS_Selectors/Comparison_with_XPath
---
<div>{{CSSRef("Selectors")}}{{QuickLinksWithSubpages("/en-US/docs/Web/XPath")}}{{Draft}}</div>
diff --git a/files/zh-cn/web/xpath/introduction_to_using_xpath_in_javascript/index.html b/files/zh-cn/web/xpath/introduction_to_using_xpath_in_javascript/index.html
index cc4b806fa6..d72b2fdfe7 100644
--- a/files/zh-cn/web/xpath/introduction_to_using_xpath_in_javascript/index.html
+++ b/files/zh-cn/web/xpath/introduction_to_using_xpath_in_javascript/index.html
@@ -1,6 +1,6 @@
---
title: Introduction to using XPath in JavaScript
-slug: Web/JavaScript/Introduction_to_using_XPath_in_JavaScript
+slug: Web/XPath/Introduction_to_using_XPath_in_JavaScript
tags:
- DOM
- Extensions
@@ -8,6 +8,7 @@ tags:
- Web Development
- XPath
translation_of: Web/XPath/Introduction_to_using_XPath_in_JavaScript
+original_slug: Web/JavaScript/Introduction_to_using_XPath_in_JavaScript
---
<p>该篇文档描述了如何在扩展和网站内部通过JavaScript调用 <a href="/zh-CN/XPath" title="zh-CN/XPath">XPath</a> 接口。 Mozilla 实现了相当多的 <a class="external" href="http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html">DOM 3 XPath</a>,意味着 Xpath 表达式已经可以在 HTML 和 XML 文档中使用。</p>