go-xmldom icon indicating copy to clipboard operation
go-xmldom copied to clipboard

XML DOM processing for Golang, supports xpath query

Results 9 go-xmldom issues
Sort by recently updated
recently updated
newest added

In `go-xmldom/node.go` (master branch), function `PrevSibling()`, there's: ``` if i >= 0 { return n.Parent.Children[i-1] } ``` The `>=` should probably be `>`.

Collects all merge-able PRs from https://github.com/subchen/go-xmldom/network and put into one central repo

I was parsing a XML file that contains CData sections and got empty strings. After a little digging I found the error. It seems that the underlying `xml` package produces...

I'd like to add namespaced attributes but I find that xpath queries seem to be ignored unless I recreate a new node. Not a bug of go-xmldom but i really...

enhancement

go-xmldom is able to *"Update XML using dom"*, so is it possible to locate an xml node via `xapth` then edit/modify the content/attributes? If so, an working example would be...

Reading this XML file (an SVG) and then simply resaving it will write invalid characters in the CSS part. The error that chrome gives on trying to read this SVG...

I'm trying to search for a node in a document I think my xpath query is correct in syntax but does not return any elements. The following test fails. ```...

bug

For example: By default, Parse() will string whitespace of the text. When a boolean option to PreserveWhitespace is set, it will preserve the whitespace. this text has leading and trailing...