search for: xmlinsid

Displaying 2 results from an estimated 2 matches for "xmlinsid".

Did you mean: xmlinside
2008 May 02
1
How to parse XML
I would like to learn how to parse a mixed text/xml document I downloaded from the sec.gov website (see example below). I would like to parse this to get the value for each xml tag and then access it within R, but I don't know much about xml so I don't even know where to start debugging the errors I am getting in this example code. Can anyone help me get started? Thanks, Roger ftp
2008 Jun 25
0
Memory allocation failed: Copying Node
...e, sep="") fileout = filein try(download.file(url=ftp, destfile=fileout)) } txt <- readLines(filein) if(length(txt) == 0){ next } xmlInside <- grep("</*XML", txt) xmlTxt <- txt[seq(xmlInside[1]+1, xmlInside[2]-1)] xml <- tryCatch(xmlMalformed2(filein), error = function(err) unProcessedFiles(filein) ) if(is.null(xml)) next...