You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
replace() as a function and return a value with string type, you should call xpath.Evaluate(...), the htmlquery.QueryAll() always return a set of node.
On playground: https://go.dev/play/p/jxU6UgH0DnK
The same content+query works fine on https://www.freeformatter.com/xpath-tester.html
The above example without
replace()
works fine: https://go.dev/play/p/N22KULbkgRuThe text was updated successfully, but these errors were encountered: