Package: selectr 0.8-0
selectr: Translate CSS Selectors to XPath Expressions
Translates a CSS selector into an equivalent XPath expression. This allows us to use CSS selectors when working with the 'XML' and 'xml2' packages, which can only evaluate XPath expressions. Also provided are convenience functions for querying XML and HTML documents with CSS selectors. This package was originally a port of the Python package 'cssselect' (<https://cssselect.readthedocs.io/>).
Authors:
selectr_0.8-0.tar.gz
selectr_0.8-0.zip(r-4.7-any)selectr_0.8-0.zip(r-4.6-any)selectr_0.8-0.zip(r-4.5-any)
selectr_0.8-0.tgz(r-4.6-any)selectr_0.8-0.tgz(r-4.5-any)
selectr_0.8-0.tar.gz(r-4.7-any)selectr_0.8-0.tar.gz(r-4.6-any)
selectr_0.8-0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
selectr/json (API)
| # Install 'selectr' in R: |
| install.packages('selectr', repos = c('https://sjp.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/sjp/selectr/issues
Last updated from:f4dffc71d2. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 135 | ||
| source / vignettes | OK | 154 | ||
| linux-release | OK | 135 | ||
| macos-release | OK | 115 | ||
| macos-oldrel | OK | 107 | ||
| windows-devel | OK | 111 | ||
| windows-release | OK | 100 | ||
| windows-oldrel | OK | 106 | ||
| wasm-release | OK | 84 |
Exports:css_to_xpathquerySelectorquerySelectorAllquerySelectorAllNSquerySelectorNS
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Translate a CSS selector to an equivalent XPath expression. | css_to_xpath |
| Find nodes that match a group of CSS selectors in an XML tree. | querySelector querySelectorAll querySelectorAllNS querySelectorNS |
| Which CSS selectors selectr supports, and what they translate to | selectors |
