zhengchun
zhengchun
Sorry, I need more test example, I cannot found any problem from these code.
I find a solution that saving the query node 'n' as a local variable used by `current()` function in the query context, like this `jsonquery.Find(n,"../../measType[@p=current()/@p]")`
@ale-rinaldi , Hello, The commit https://github.com/antchfx/xpath/commit/dfece7e444f00ae3aea4086a84ba9afdc0b93783 will causing the deadlock in the multiple goroutines. Please update your package to the the latest version https://github.com/antchfx/xpath/releases/tag/v1.2.3, it fixed the deadlook bug and...
https://github.com/antchfx/xpath Support functions zhangguanzhang ***@***.***> 于 2023年5月29日周一 下午11:17写道: > panic: not yet support this function lower-case() > > — > Reply to this email directly, view it on GitHub >...
https://github.com/antchfx/xpath/commit/c9362c3b0212535e3d4650f8edb77155afdc592b
Thanks for your PR. I have another solution that without change any code. First, disable the `htmlquery`'s caching via `DisableSelectorCache = true` Next, using `Expr.Select()`(https://pkg.go.dev/github.com/antchfx/xpath#Expr.Select) instead of `htmlquery.Query()`, this method...
Both fast. `htmlquery` for HTML query, `xmlquery` for XML query. ` htmlquery` can work for missing close tags. On Fri, May 12, 2023 at 3:46 AM RuairiSpain ***@***.***> wrote: >...
Hello, thanks for your PR, but there are No plan to support http client. I recommend anyone implement it in their own package and then call the `htmlquery.Parse()` method.
Missing to consider attribute nodes prefix and Namespace URL. You can use the below code to find a parent node `node` and then iterate over all its attribute values. ```go...
1. `htmlquery` depend on the thirdy package [golang html](https://pkg.go.dev/golang.org/x/net/html), it don't provide a 'Value()' method. one way is wrapper a `html.Node` to the new class it provides `Value()` and `Attrs()`...