{"id":66693,"library":"xmlpath-v2","title":"xmlpath.v2","description":"A Go implementation of a strict subset of XPath for XML document querying.","status":"active","version":"2.0.0-20150820204837-860cbeca3ebc","language":"go","source_language":null,"source_url":"https://github.com/go-xmlpath/xmlpath","tags":["xml","xpath","query","parsing"],"install":[{"cmd":"go get gopkg.in/xmlpath.v2","lang":"bash","label":"Install gopkg.in/xmlpath.v2"}],"dependencies":[],"imports":[{"symbol":"xmlpath","correct":"gopkg.in/xmlpath.v2"}],"quickstart":{"code":"import \"gopkg.in/xmlpath.v2\"\n\nfunc main() {\n    path, _ := xmlpath.Compile(\"/root/element\")\n    root, _ := xmlpath.Parse(strings.NewReader(\"<root><element>value</element></root>\"))\n    if value, ok := path.String(root); ok {\n        println(value)\n    }\n}","lang":"go","description":"Compiles an XPath expression and extracts a string value from XML."},"warnings":[{"fix":"Refer to documentation for supported features.","message":"Only supports a strict subset of XPath; complex expressions may fail.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'document':13 'go':3 'implement':4 'pars':18 'queri':14,17 'strict':7 'subset':8 'xml':12,15 'xmlpath.v2':1 'xpath':10,16","created_at":"2026-06-17T17:27:12.712438+00:00","updated_at":"2026-06-17T17:27:12.712438+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/go-xmlpath/xmlpath","github":"https://github.com/go-xmlpath/xmlpath","docs":"https://pkg.go.dev/gopkg.in/xmlpath.v2#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}