Registry / serialization / jbowtie-gokogiri

jbowtie-gokogiri

JSON →
library0.0.0-20190301021639-37f655d3078fgogounverified

Provides a Go interface to libxml2 for parsing, manipulating, and creating HTML and XML documents using CSS selectors or XPath.

go get github.com/jbowtie/gokogiri
INSTALL
IMPORT
SIG · JBOWTIE-GOKOGIRI
J
jbowtie-gokogiri
serializationgov0.0.0-20190301021639-37f655d3078f
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gokogiri
github.com/jbowtie/gokogiri

Parses an XML document and prints the root content.

package main import ( "fmt" "github.com/jbowtie/gokogiri" "github.com/jbowtie/gokogiri/xml" ) func main() { doc, err := xml.Parse([]byte("<root><item>Hello</item></root>")) if err != nil { panic(err) } defer doc.Free() fmt.Println(doc.Root().Content()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20190301021639-37f655d3078flatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
jbowtie-gokogiri — go get jbowtie-gokogiri · libregistry