Unable to get XPath values in XML filter

Well I finally managed to solve it.

It turns out that some files had an xmlns attribute defined on html which caused XPath to not be able to parse anything.

Even if I assigned specifically that it exists in XPath: /html[@xmlns="http://domain.tld/path/to"] it wasn't able to resolve it.

Final solution was to set remove_namespaces to true.

1 Like