| NEWS | R Documentation |
Added a 'CITATION' file which cites a technical report on the package.
'show()' methods are now available on internal objects, making interactive extensibility and bug-fixing easier. This is simply wrapping the 'repr()' methods (mirroring the Python source) that the same objects have.
Use the session character encoding to determine whether to run unicode tests. Tests break in non-unicode sessions otherwise.
Introduced new functions 'querySelectorNS()' and 'querySelectorAllNS()' to ease the use of namespaces within a document. Previously this would have required knowledge of XPath.
Fix meaning of ':empty', whitespace is not empty.
Use 'lang()' for XML documents with the ':lang()' CSS selector.
'|ident' no longer produces a parsing error, but is now equivalent to just 'ident'.
Now testing unicode only in non-Windows platforms on package check. Output should still be consistent, just depends on the current charset being unicode.
Initial port of the Python 'cssselect' package. Code is very literally ported, including the test suite.
Wrapped translation functionality into a single function, 'css_to_xpath()'.
Created two convenience functions, 'querySelector()' and 'querySelectorAll()'. These mirror the behaviour of the same functions present in a web browser. 'querySelector()' returns a node, while 'querySelectorAll()' returns a list of nodes.