xml2
xml2 copied to clipboard
Bindings to libxml2
When trying to read an invalid .xml file, I cannot delete the. I think that this is because the connection remains open. If important, this happens on Windows (I've not...
Does xml2 have the XInclude functionality ? XML has an example where they illustrate the use of the XInclude functionality, which is exactly what I need. It appears as if...
Please check attached xml. Element such are "EnteteFacture" etc does not apper on the list (as there are multiple "LigneFacture" [dupicateLine..txt](https://github.com/r-lib/xml2/files/10529540/dupicateLine.txt)
The "NOWARNING" options states it should suppress warning reports from the libxml2 parser. It does not suppress warnings about the namespace prefix on nodes. The use-case here is the [WordProcessingML...
Possibly related to [340](https://github.com/r-lib/xml2/issues/340). The [xml2 Node Modification vignette](https://cran.r-project.org/web/packages/xml2/vignettes/modification.html) states that using `NULL` as the value will remove the attribute completely. In the example below, the 'space' attribute in `doc1`...
`xml_attr(x, "href")` returns un-encoded URLs if that's how they appear in the source, but then those URLs fail in `url_absolute`. ``` r url [1] NA xml2::url_absolute( utils::URLencode(url), base = "https://example.com/"...
As always, thanks for the amazing package! For all functions that take dots, support for dynamic dots. Also, dropping `NULL` arguments would make life a lot easier, just like you...
Follow-up to #8. Consider trying to find the minimal indentation of expressions in an R file (using the AST via {xmlparsedata}). I'll use `dbplyr/tests/testthat/helper-src.R` for illustration: ```r library(xmlparsedata) library(xml2) xml...