vbigot-juloux / hermeneutics-of-action

0 stars 0 forks source link

Get characters #2

Open vbigot-juloux opened 6 years ago

vbigot-juloux commented 6 years ago

List of characters:

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
vbigot-juloux commented 6 years ago

Example posted on Rdocumentation