Open vbigot-juloux opened 6 years ago
characters <- cbind( "@xml:id" = getNodeSet(doc, "//ns:persName//@xml:id", ns), "names" = lapply(getNodeSet(doc, "//ns:persName[@xml:id][text()]", ns), function(x) xmlValue(x)) ) characters
Example posted on Rdocumentation
List of characters: