packrat/lib/x86_64-apple-darwin15.6.0/3.6.0/XML/examples/faq.R

# Getting the question text from a FAQ.
doc = xmlParse("FAQ.xml")
q = getNodeSet(doc, "//question")
sapply(q, function(x) paste(sapply(xmlChildren(x)[names(x) == "text"], xmlValue), collapse = "\n"))
adnaniazi/krauseNiazi2019Analyses documentation built on June 9, 2019, 7:22 p.m.