get_node_attrs.RdThis function extends `xml2::xml_attrs()`, by adding the option to add the node content as an additional key `content` to the list created by `xml2::xml_attrs()`.
get_node_attrs(nodes, add_content = F)
| nodes | an `xml2` `nodeset` |
|---|---|
| add_content | a boolean |
A list of character vectors