swh:1:snp:7d9f1bc35e120776766db9334626062f837c20ad
Raw File
Tip revision: 8bce19a8f83b12aa935d4d81cfe41dfe4dbb6a5e authored by ORPHANED on 09 August 2018, 09:27:30 UTC
version 3.98-1.14
Tip revision: 8bce19a
libxml2.9.R
library(XML)
f <- system.file("exampleData", "gnumeric.xml", package = "XML")
startElement = function(x, ...) cat(x, "\n")
xmlEventParse(file(f), handlers = list(startElement = startElement))

if(FALSE) {
 con = file(f, "r")
 g = function(...) { browser(); cat("here\n"); readLines(con, 1) }
 xmlEventParse(g, handlers = list(startElement = startElement))
 close(con)
}


back to top