r-lib / xml2

Bindings to libxml2
https://xml2.r-lib.org/
Other
220 stars 82 forks source link

as_list ignore elements when there are element duplicates #381

Closed porfila closed 1 week ago

porfila commented 1 year ago

Please check attached xml. Element such are "EnteteFacture" etc does not apper on the list (as there are multiple "LigneFacture" dupicateLine..txt

hadley commented 1 year ago

Can you please provide a minimal reprex (reproducible example)? The goal of a reprex is to make it as easy as possible for me to recreate your problem so that I can fix it: please help me help you! If you've never heard of a reprex before, start by reading about the reprex package, including the advice further down the page. Please make sure your reprex is created with the reprex package as it gives nicely formatted output and avoids a number of common pitfalls.