SimpleComTools, LLC
XML1000 – User Manual
SimpleComTools, LLC
12
Reading an XML Document
At its base level, all information displays as readable text, interspersed with markup tags that indicate the
information's logical separation into a hierarchy. That hierarchy has container-like elements, followed by the
relevant data. In this respect, browsing through an XML document is similar to looking at the outline of a
textbook, or browsing through a PC operating system such as MS Windows.
Book Outline Example
1.
Chapter
1
a. Section
1
i. Data
1
ii. Data
2
iii. Data
3
b. Section
2
i. Data
1
ii. Data
2
iii. Data
3
c. Section
3
Operating System Hierarchy Example
C:\WINDOWS\system32\drivers\etc
C:\
WINDOWS\
system32\
drivers\
etc\
XML1000 Example Output ‘Document’
<?xml version="1.0" encoding="UTF-8"?>
<XML1000>
<DIN>
<D1>1</D1>
<D2>1</D2>
<D3>1</D3>
<D4>1</D4>
<D5>1</D5>
<D6>1</D6>
<D7>1</D7>
<D8>1</D8>
</DIN>
<AOUT>
<AO1>5.0</AO1>
<AO2>3.5</AO2>
</AOUT>
<RELAY>
<R1>0</R1>
<R2>0</R2>
</RELAY>
</XML1000>
Familiar example of a data
presented in TREE format