selectr: Translate CSS Selectors to XPath Expressions
Version 0.3-1

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' ().

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
URL https://sjp.co.nz/projects/selectr
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("selectr")

Getting started

README.md

Popular man pages

css_to_xpath: Translate a CSS selector to an equivalent XPath expression.
querySelectorAll: Find nodes that match a group of CSS selectors in an XML...
See all...

All man pages Function index File listing

Man pages

css_to_xpath: Translate a CSS selector to an equivalent XPath expression.
querySelectorAll: Find nodes that match a group of CSS selectors in an XML...

Functions

compile_ Source code
css_to_xpath Man page Source code
formatNS Source code
formatNSPrefix Source code
getHasXML Source code
getHasxml2 Source code
hasXMLPackage Source code
hasxml2Package Source code
is_safe_name Source code
onLoad Source code
parse Source code
parse_attrib Source code
parse_selector Source code
parse_selector_group Source code
parse_series Source code
parse_simple_selector Source code
querySelector Man page Source code
querySelector.default Source code
querySelector.xml_node Source code
querySelectorAll Man page Source code
querySelectorAll.XMLInternalDocument Source code
querySelectorAll.XMLInternalNode Source code
querySelectorAll.default Source code
querySelectorAll.xml_node Source code
querySelectorAllNS Man page Source code
querySelectorAllNS.default Source code
querySelectorAllNS.xml_node Source code
querySelectorNS Man page Source code
querySelectorNS.default Source code
querySelectorNS.xml_node Source code
registerMethods Source code
registerXMLMethods Source code
registerxml2Methods Source code
setHasXML Source code
setHasxml2 Source code
str_int Source code
sub_newline_escape Source code
sub_simple_escape Source code
sub_unicode_escape Source code
token_equality Source code
tokenize Source code
tryLoadNamespaces Source code
validateNS Source code

Files

inst
inst/demos
inst/demos/svg-mathml.svg
inst/CITATION
inst/NEWS.Rd
tests
tests/testthat
tests/testthat/test-shakespeare-xml2.R
tests/testthat/test-specificity.R
tests/testthat/test-parse-errors.R
tests/testthat/test-main.R
tests/testthat/test-xmllang-XML.R
tests/testthat/test-xmllang-xml2.R
tests/testthat/test-quoting.R
tests/testthat/test-translation.R
tests/testthat/test-querySelector-xml2.R
tests/testthat/test-select-xml2.R
tests/testthat/test-pseudo.R
tests/testthat/test-querySelector-XML.R
tests/testthat/test-xpath.R
tests/testthat/test-shakespeare-XML.R
tests/testthat/test-series.R
tests/testthat/test-querySelector-default.R
tests/testthat/test-tokenizer.R
tests/testthat/test-parser.R
tests/testthat/test-select-XML.R
tests/testthat/test-method-registration.R
tests/test-all.R
NAMESPACE
R
R/xpath.R
R/zzz.R
R/parser.R
R/main.R
README.md
MD5
DESCRIPTION
LICENCE
man
man/css_to_xpath.Rd
man/querySelectorAll.Rd
.Rinstignore
selectr documentation built on May 19, 2017, 3:24 p.m.

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

Please suggest features or report bugs in the GitHub issue tracker.

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