This 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)

Arguments

nodes

an `xml2` `nodeset`

add_content

a boolean

Value

A list of character vectors