search for: xmlmalform

Displaying 1 result from an estimated 1 matches for "xmlmalform".

Did you mean: xmlmalformed
2008 Jun 17
2
try catch block
How can I use the try catch block such that if this statement fails xml <- xmlTreeParse(xmlTxt, useInternal=TRUE) then this statement is executed xml <- xmlMalFormed() ? This code does not work but assuming its somewhere along these lines: tryCatch(xml <- xmlTreeParse(xmlTxt, useInternal=TRUE), xml <- xmlMalFormed(f1)) -- View this message in context: http://www.nabble.com/try-catch-block-tp17938467p17938467.html Sent from the R help mailing list...