xml2
xml2 copied to clipboard
Bindings to libxml2
I have a variable say x which can take any integer value. When I try to pass the value directly (say, x=0) instead of variable as below, I get respective...
This is more of a note on html processing, in case you are not aware. libxml2 v2.9.13, which is the newest release that gets pulled in by apt on Ubuntu...
I'd like to use an `xml_nodeset` object as a column in a data frame. Here are my naive attempts: ```R library(xml2) library(tibble) library(dplyr) x
It would be nice i `write_xml` was consistent with some other writing functions in defaulting to write to the the terminal. I find myself writing `writeLines(as.character(x))` _a lot_ when I'm...
read_xml ignores relative paths ```r #fails: read_xml(x = "./temp/rbcl_from_0_raw.xml" ) Error: './temp/rbcl_from_0_raw.xml' does not exist in current working directory ('D:/R/ACG'). #works: read_xml(x = paste0( getwd(), "/temp/rbcl_from_0_raw.xml") ) ``` [rbcl_from_0_raw.zip](https://github.com/r-lib/xml2/files/9046911/rbcl_from_0_raw.zip) >...
std::back_inserter is used on L38: https://en.cppreference.com/w/cpp/iterator/back_insert_iterator
Hi, Thanks for developing and supporting xml2. This is awesome. I am using xml2 to parse 'xls' files downloaded every day. I am trying to automate this process using cron...
Found in the XML representation of an edge case R file: ```r library(xml2) library(xmlparsedata) p = parse("https://raw.githubusercontent.com/mwaldstein/edgarWebR/master/tests/cache/browse-edgar-11457c.R") xml = read_xml(xml_parse_data(p)) ``` Printing this is painfully slow: ```r system.time(print(xml)) # {xml_document}...
### Issue Description `as_list()` will convert element text into a list of length 1 with a single character element. I would expect it to "simplify" or "unbox" the text so...
xml_find_num is a great tool for returning known-type output; any reason not to extend this to include a function returning known-integer output?