xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

XPath in Action

Python 爬虫

数据上报,可视化埋点

HTML / XHTML
XML / XML Namespaces

XPath

XPath 是一门在 XML 文档中查找信息的语言;

XPath 使用路径表达式在 XML 文档中进行导航
XPath 包含一个标准函数库
XPath 是 XSLT 中的主要元素
XPath 是一个 W3C 标准

HTML 解析

HTML 是基于 XML 的一种扩展实现;

XSL & XSLT

XSL 指扩展样式表语言(EXtensible Stylesheet Language), 它是一个 XML 文档的样式表语言。

XSLT 指 XSL 转换。

使用 XSLT 将 XML 文档转换为其他文档,比如 XHTML

https://www.runoob.com/xsl/xsl-w3celementref.html

https://www.runoob.com/xsl/xsl-functions.html

https://www.runoob.com/xsl/xsl-languages.html

CSS = HTML 样式表

XSL = XML 样式表

XML

XML 被设计用来传输和存储数据

https://www.runoob.com/xml/xml-tutorial.html

DTD

DTD(文档类型定义)的作用是定义 XML 文档的合法构建模块

XML DOM

XML DOM 定义访问和操作XML文档的标准方法

XQuery

XQuery 被设计用来查询 XML 数据

XQuery 之于 XML 作用就类似于 SQL 之于数据库的作用。

https://www.runoob.com/xquery/xquery-tutorial.html

https://www.runoob.com/xquery/xquery-reference.html

or $x in doc("books.xml")/bookstore/book
where $x/price>30
order by $x/title
return $x/title

refs

https://www.runoob.com/xpath/xpath-tutorial.html

https://www.runoob.com/xpath/xpath-functions.html


Flag Counter

©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


原文地址:https://www.cnblogs.com/xgqfrms/p/13495477.html