HTML解析器 go-html-transform

码农软件 · 软件分类 · HTML解析器 · 2019-04-02 23:13:13

软件介绍

go-html-transform是使用Go语言实现的一个HTML解析器,并且有HTML5的支持,使用这个解析器可以让我们使用CSS选择器来操作DOM节点。

示例代码:

doc := NewDoc(str)
t := NewTransform(doc)
t.Apply(CopyAnd(myModifiers...), "li.menuitem")
t.Apply(Replace(Text("my new text"), "a")
newDoc := t.Doc()

本文地址:https://codercto.com/soft/d/2736.html

Open Data Structures

Open Data Structures

Pat Morin / AU Press / 2013-6 / USD 29.66

Offered as an introduction to the field of data structures and algorithms, Open Data Structures covers the implementation and analysis of data structures for sequences (lists), queues, priority queues......一起来看看 《Open Data Structures》 这本书的介绍吧!

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

html转js在线工具
html转js在线工具

html转js在线工具