Generic XML |
Top Previous Next |
By default, screen information is mapped to XML tags and attributes as described:
<TNBRIDGE> <status> <direction... /> <transaction... /> <cursor_pos... /> <session... /> <state... /> <xmlscreen... /> <cursor_field... /> <timestamp... /> <status /> <screen> <rows... /> <cols... /> <type... /> <model... /> <fields> <field ...> <name... /> <attr... /> <value... /> <field /> . . . <fields /> <screen /> <TNBRIDGE />
TNBRIDGE is the root tag and includes the status and screen tags as children.
status: indicates the connection status Contains the following tags:
Screen: indicates screen's characteristics and contains a collection of screen fields. Contains the following tags:
Here you can see an example of XML Code:
<TNBRIDGE> <status> <direction>OUTPUT</direction> <transaction>00A8DB7000002</transaction> <cursor_pos>830</cursor_pos> <session>LU-LU</session> <state>UNLOCKED</state> <xmlscreen name="Session" /> <cursor_field>R11C30</cursor_field> <timestamp>2453360.14494451</timestamp> </status> <screen> <rows>24</rows> <cols>80</cols> <type>TN3270</type> <model>2E</model> <fields> <field name="R01C02"> <name len="4">R1C2</name> <attr byte="E4" eab="08" display="y" prot="y" numeric="n" intense="n" mdt="n" /> <value maxlen="8" len="8">KLGLGON1</value> </field> <field name="R01C11"> <name len="5">R1C11</name> <attr byte="E4" eab="28" display="y" prot="y" numeric="n" intense="n" mdt="n" /> <value maxlen="13" len="13">-------------</value> </field> . . . </fields> </screen> </TNBRIDGE>
|