xml
From rvest v0.3.6
by Hadley Wickham
Work with xml.
Deprecated. Please use just xml2 directly
- Keywords
- internal
Usage
xml(x, ..., encoding = "")xml_tag(x)
xml_node(x, css, xpath)
xml_nodes(x, css, xpath)
Arguments
- x
A url, a local path, a string containing html, or a response from an httr request.
- ...
If
x
is a URL, additional arguments are passed on tohttr::GET()
.- encoding
Specify encoding of document. See
iconvlist()
for complete list. If you have problems determining the correct encoding, trystringi::stri_enc_detect()
- css
Nodes to select. Supply one of
css
orxpath
depending on whether you want to use a CSS or XPath 1.0 selector.- xpath
Nodes to select. Supply one of
css
orxpath
depending on whether you want to use a CSS or XPath 1.0 selector.
Community examples
Looks like there are no examples yet.