Icon

2019_​11_​29_​Read_​XML_​Files_​in_​a_​Try_​Catch_​Loop

Reading XMLs from URLs in a Try/Catch Loop
Reading XMLs from URLs in a Try/Catch LoopThis workflow reads multiple XML files from given URLs in a loop. Not all xml files exist so Try/Catch sequence wasimplemented. String in input table must be recognized as a URL otherwise XML Reader will supose it a local file and fail duringconfiguration if file does not exist locally. Configuration errors are not caught by Try/catch sequence and thus workflow will not befully executed.Forum link: https://forum.knime.com/t/loop-xml-reader-with-variable-failed/19713 Start LoopRead xml from URLEnd LoopXML URLsStart Error HandlingEnd Error HandlingEmptyConvert to XMLCreate columns from variables Table Row ToVariable Loop Start XML Reader Loop End Table Creator Try (VariablePorts) Catch Errors(Data Ports) Table Creator String To XML Variable toTable Column Reading XMLs from URLs in a Try/Catch LoopThis workflow reads multiple XML files from given URLs in a loop. Not all xml files exist so Try/Catch sequence wasimplemented. String in input table must be recognized as a URL otherwise XML Reader will supose it a local file and fail duringconfiguration if file does not exist locally. Configuration errors are not caught by Try/catch sequence and thus workflow will not befully executed.Forum link: https://forum.knime.com/t/loop-xml-reader-with-variable-failed/19713 Start LoopRead xml from URLEnd LoopXML URLsStart Error HandlingEnd Error HandlingEmptyConvert to XMLCreate columns from variables Table Row ToVariable Loop Start XML Reader Loop End Table Creator Try (VariablePorts) Catch Errors(Data Ports) Table Creator String To XML Variable toTable Column

Nodes

Extensions

Links