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

Encountered when trying to convert some `as.integer(xml_find_num())` usage. Consider: ```r x1

I'm trying to use `xml_add_child()` for the first time, and don't know how to use it. It's clear it should take an XML object and a new child as input,...

Since `c.xml_nodeset` ist not defined, combining nodesets drops the class and breaks the following usage if not manually applying the class: ``` r library(xml2) xml

Reading the `read_html()` manual page I was surprised by https://xml2.r-lib.org/reference/read_xml.html#setting-the-user-agent-header that doesn't seem really integrated with the rest? Besides, it uses httr not httr2.

When building xml2 on Linux (tested with RHEL7 and R 4.1,4.2,4.3), the compile and link steps will include libraries associated with directories in $PATH, but which aren't in the library...

I use the paws package to work with S3, e.g. list objects in a bucket. As this took quite a lot of time I did some profiling and noticed most...

upkeep

# Function read_xml_num ## Documentation The function lacks an example and a detailed explanation. Therefore, I am unsure what it actually does or how to actually use it. All examples...

`xml_length(xml_nodeset())` returns `0` but I feel this should rather be `integer()` which would also be consistent with e.g. `xml_name()`. ``` r library(xml2) (ns1 {xml_nodeset (0)} xml_length(ns1) #> [1] 0 (ns2...

bug

We now prefer `expect_snapshot()` + `error = TRUE` so then you see the code and the error in the snapshot. _Originally posted by @hadley in https://github.com/r-lib/xml2/pull/412#discussion_r1380091891_

upkeep