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
As it stands, sxd-xpath is the most full-featured and currently maintained XPath library in Rust.
The XPath 2.0 lists the following goals:
Support related XML standards
Improve ease of use
Improve interoperability
Improve i18n support
Maintain backward compatibility
A major use of XPath in the real world is web scraping and parsing. Although the XPath specs don't address it, I think it should be a major goal of this library.
Thus, that means:
supporting basic HTML requirements like <!doctype html>, fully supporting self-closing tags, etc
possibly abstracting out our DOM using traits that could be implemented by other parsing libraries like html5ever (Can I use it with html5ever? #73). This would allow us to use the full power of the Rust ecosystem, and rely on highly-used and maintained libraries, some of which have more powerful features like quirks mode and more advanced error reporting
The text was updated successfully, but these errors were encountered:
As it stands, sxd-xpath is the most full-featured and currently maintained XPath library in Rust.
The XPath 2.0 lists the following goals:
A major use of XPath in the real world is web scraping and parsing. Although the XPath specs don't address it, I think it should be a major goal of this library.
Thus, that means:
<!doctype html>
, fully supporting self-closing tags, etcThe text was updated successfully, but these errors were encountered: