swh:1:snp:7d9f1bc35e120776766db9334626062f837c20ad
Raw File
Tip revision: 5ca06dbbc4748f147c312def04189d98af4b8b55 authored by ORPHANED on 19 August 2018, 08:11:10 UTC
version 3.98-1.16
Tip revision: 5ca06db
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