Skip to content

Overview

Concepts and Principles

Development

Overview

IDEs

API Explorer

Releases

Release Notes

TORO Integrate

Coder Studio

Coder Cloud

Bug Reports

Search

Reading a Large XML File Using a Cursor

The example service in code/xmlCursor/ named ReadLargeXmlFile.gloop demonstrates how to use a cursor to read a large XML file.

Output of ReadLargeXmlFile.gloop

1
2
3
4
5
6
7
8
9
24/04/18 15:44:12.331 INFO  [Integrate] Header details are: This is the header for 1000 random people records
24/04/18 15:44:12.424 INFO  [Integrate] The name in record 1 is Wald Seys
24/04/18 15:44:12.434 INFO  [Integrate] The name in record 2 is Rolland Matthieson
24/04/18 15:44:12.441 INFO  [Integrate] The name in record 3 is Carey Nickolls

...

24/04/18 15:44:24.475 INFO  [Integrate] The name in record 1000 is Justin Whye
24/04/18 15:44:24.554 INFO  [Integrate] The trailer description is The trailer description goes here