Registry / serialization / antchfx-xmlquery

antchfx-xmlquery

JSON →
library1.5.1gogounverified

Extracts data from XML documents using XPath expressions.

go get github.com/antchfx/xmlquery
INSTALL
IMPORT
SIG · ANTCHFX-XMLQUERY
A
antchfx-xmlquery
serializationgov1.5.1
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.

xmlquery
github.com/antchfx/xmlquery

Parses XML and extracts text using an XPath expression.

package main import ( "fmt" "strings" "github.com/antchfx/xmlquery" ) func main() { src := `<root><item>value</item></root>` doc, _ := xmlquery.Parse(strings.NewReader(src)) node := xmlquery.FindOne(doc, "//item") fmt.Println(node.InnerText()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.5.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
18
OpenAI (training)
1
Resources
antchfx-xmlquery — go get antchfx-xmlquery · libregistry