selectr: Translate CSS Selectors to XPath Expressions

Translates a CSS3 selector into an equivalent XPath expression. This allows us to use CSS selectors when working with the XML package as it can only evaluate XPath expressions. Also provided are convenience functions useful for using CSS selectors on XML nodes. This package is a port of the Python package 'cssselect' (<https://pythonhosted.org/cssselect/>).

AuthorSimon Potter [aut, trl, cre], Simon Sapin [aut], Ian Bicking [aut]
Date of publication2016-12-19 08:34:09
MaintainerSimon Potter <simon@sjp.co.nz>
LicenseBSD_3_clause + file LICENCE
Version0.3-1
https://sjp.co.nz/projects/selectr

View on CRAN

Files in this package

selectr
selectr/inst
selectr/inst/demos
selectr/inst/demos/svg-mathml.svg
selectr/inst/CITATION
selectr/inst/NEWS.Rd
selectr/tests
selectr/tests/testthat
selectr/tests/testthat/test-shakespeare-xml2.R
selectr/tests/testthat/test-specificity.R
selectr/tests/testthat/test-parse-errors.R
selectr/tests/testthat/test-main.R
selectr/tests/testthat/test-xmllang-XML.R
selectr/tests/testthat/test-xmllang-xml2.R
selectr/tests/testthat/test-quoting.R
selectr/tests/testthat/test-translation.R
selectr/tests/testthat/test-querySelector-xml2.R
selectr/tests/testthat/test-select-xml2.R
selectr/tests/testthat/test-pseudo.R
selectr/tests/testthat/test-querySelector-XML.R
selectr/tests/testthat/test-xpath.R
selectr/tests/testthat/test-shakespeare-XML.R
selectr/tests/testthat/test-series.R
selectr/tests/testthat/test-querySelector-default.R
selectr/tests/testthat/test-tokenizer.R
selectr/tests/testthat/test-parser.R
selectr/tests/testthat/test-select-XML.R
selectr/tests/testthat/test-method-registration.R
selectr/tests/test-all.R
selectr/NAMESPACE
selectr/R
selectr/R/xpath.R selectr/R/zzz.R selectr/R/parser.R selectr/R/main.R
selectr/README.md
selectr/MD5
selectr/DESCRIPTION
selectr/LICENCE
selectr/man
selectr/man/css_to_xpath.Rd selectr/man/querySelectorAll.Rd
selectr/.Rinstignore

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.