xml2 icon indicating copy to clipboard operation
xml2 copied to clipboard

Bindings to libxml2

Results 81 xml2 issues
Sort by recently updated
recently updated
newest added

Particularly the options argument; often I want to turn formatting off, and I can't remember how and have to re-read the source code to figure it out.

documentation

By developing a plumber API with xml2 I fall into the following error under a small stress test. I reproduce a minimal example in my local machine. The following code...

bug

I'm trying to modify xml by adding child nodes with attributes, and then I'm looking for the subset of added nodes with attributes I just added: ```r library(xml2) doc

bug

I've bene using `html_nodes` in @tidyverse `rvest` to try to extract elements of extracted HTML, but I realized if I accidentally put in a commented string, it gives back a...

bug

Hi team I'm using xml2::xml_set_attrs to modify an xml us the following ```r # read xml from some file xmlparent % xml_find_all(., xpath = ".//d1:command[@fragment='paramModelDate']/r:paramInstance") %>% xml_set_attrs(., c("xsi:type" = "FdbModelDate",...

reprex

I find I need something like this function fairly often: ```R xml_replace_contents

feature

Useful way to create nodes from strings ```R as_html

feature

Because it's a common source of vectorisation details. Before changing, we'd need to assess impact on revdeps.

feature

Just to save me having to randomly read articles every time I need to use it.

documentation

Example: xml_find_num(xml, "/some/path/that/does/not/exist") Should check if it is a request for NUMBER: if (result_ == NULL) { // should first check if the request is for NUMBER and return a...

reprex