search for: getdtd

Displaying 6 results from an estimated 6 matches for "getdtd".

Did you mean: getdt
2013 Mar 20
1
htmlParse (from XML library) working sporadically in the same code
...or: failed to load HTTP resource Error is coming from the following line in htmlParse code:     ans <- .Call("RS_XML_ParseTree", as.character(file), handlers, as.logical(ignoreBlanks), as.logical(replaceEntities), as.logical(asText), as.logical(trim), as.logical(validate), as.logical(getDTD), as.logical(isURL), as.logical(addAttributeNamespaces), as.logical(useInternalNodes), as.logical(isHTML), as.logical(isSchema), as.logical(fullNamespaceInfo), as.character(encoding), as.logical(useDotNames), xinclude, error, addFinalizer, as.integer(options), PACKAGE = "XML") By the w...
2012 Aug 10
3
Parsing large XML documents in R - how to optimize the speed?
...-various attributes -a list of 'peptide' objects, each of which containing: -various attributes -a list of 'aa' objects, each of which consisting of a couple of attributes. Here is the basic structure of the code: xml.doc <- xmlTreeParse("file", getDTD=FALSE, useInternalNodes=TRUE) result <- new('S4_result_class') result@proteins <- xpathApply(xml.doc, "//model/protein", function(protein.node) { protein <- new('S4_protein_class') ## fill in a couple of attributes of the protein object using xmlValue and xmlA...
2011 Jun 07
1
XML segfault on some architectures
...e) *** caught segfault *** address 0x500001c4f, cause 'memory not mapped' Traceback: 1: .Call("RS_XML_ParseTree", as.character(file), handlers, as.logical(ignoreBlanks), as.logical(replaceEntities), as.logical(asText), as.logical(trim), as.logical(validate), as.logical(getDTD), as.logical(isURL), as.logical(addAttributeNamespaces), as.logical(useInternalNodes), FALSE, as.logical(isSchema), as.logical(fullNamespaceInfo), as.character(encoding), as.logical(useDotNames), xinclude, error, addFinalizer, PACKAGE = "XML") 2: xmlTreeParse(fileName) P...
2012 May 15
1
KEGGSOAP installation error
...ed *** caught segfault *** address 0x500001c4f, cause 'memory not mapped' Traceback: 1: .Call("RS_XML_ParseTree", as.character(file), handlers, as.logical(ignoreBlanks), as.logical(replaceEntities), as.logical(asText), as.logical(trim), as.logical(validate), as.logical(getDTD), as.logical(isURL), as.logical(addAttributeNamespaces), as.logical(useInternalNodes), FALSE, as.logical(isSchema), as.logical(fullNamespaceInfo), as.character(encoding), as.logical(useDotNames), xinclude, error, addFinalizer, PACKAGE = "XML") 2: xmlParse(url) 3: parseSc...
2011 Aug 26
0
How to use xmlFlatListTree?
Dear Forum, I haven't programmed in a while, and I'm new to R, so please keep your answers simple. I'm trying to analyse data in an xml file. I successfully loaded the data into lists using: doc <- xmlTreeParse("PSparsed.xml", getDTD = F) I was going to write a script to traverse the tree and flatten the hierarchy into a rectangular form to fit into a data.frame, but it seems like xmlHashTree and xmlFlatListTree are made to do this for me. I've been following the examples in the package specification document to figure out...
2005 Mar 11
3
XML to data frame or list
Dear useRs, I have a simple/RTFM question about XML parsing. Given an XML file, such as (fragment) <A>100</A> <B>23</B> <C>true</C> how do I import it in a data frame or list, so that the values (100, 23, true) can be accessed through the names A, B and C? I installed the XML package and looked over the documentation... however after 20 minutes and a couple of