xmlquery icon indicating copy to clipboard operation
xmlquery copied to clipboard

xmlquery is Golang XPath package for XML query.

Results 29 xmlquery issues
Sort by recently updated
recently updated
newest added

https://github.com/antchfx/xmlquery/blob/13877b8180f038f701a5474cbdb368bf068fdb5f/node.go#L144 Hi! Can you support these parameters? I would like to keep the original format :)

enhancement

XML: ``` ``` My code: ``` atom.Log.Debugf("xml: %s", xmlPath) f, err := os.Open(xmlPath) if err != nil { return errors.Wrapf(err, "failed to open %s", xmlPath) } p, err := xmlquery.CreateStreamParser(f,...

If previous sibling contains same xmlns as current prefix does, the prefix will be dropped. ``` ``` ```root, _ := xmlquery.Parse(bytes.NewReader(data)) nodes, _ := xmlquery.QueryAll(root, "//*") for _, node :=...

bug

Hello, I'm trying to select duplicate nodes by looking value of one specific child. Normally I should be able to do that by using the following XPath: `/response[@status="success"]/result/entry[username][domain][username=following-sibling::entry/username or username=preceding-sibling::entry/username]`...

question

``` func Test_MyTest(t *testing.T) { assert := assert.New(t) inputHtml := ` hello my friend ` topNode, _ := xmlquery.Parse(strings.NewReader(inputHtml)) // `my friend` should be a sibling with or a child...

I have an xml document and trying to pull all "con:resource" nodes out of it. For some reason, xmlquery is only finding 2 nodes when there are 8 that should...

bug

First thank you very much to build such great tool. I am using it in my project. right now I need the 'level' attribute of Node, I would like to...

PR for the feature request: https://github.com/antchfx/xmlquery/issues/64