<!-- PSWinCom DTD SMS Submit Response--> <!ELEMENT ID (#PCDATA)> <!ELEMENT REF (#PCDATA)> <!ELEMENT LOGON (#PCDATA)> <!ELEMENT REASON (#PCDATA)> <!ELEMENT STATUS (#PCDATA)> <!ELEMENT INFO (#PCDATA)> <!ELEMENT RESULT (#PCDATA)> <!ELEMENT MSG (ID, REF?, STATUS, INFO)> <!ELEMENT MSGLST (MSG+)> <!ELEMENT QRY (RESULT)> <!ELEMENT QRYLST (QRY+)> <!ELEMENT SESSION (LOGON, REASON, MSGLST?, QRYLST?)>
<?xml version="1.0"?> <SESSION> <LOGON>OK</LOGON> <REASON></REASON> <MSGLST> <MSG> <ID>1</ID> <STATUS>OK</STATUS> <INFO></INFO> </MSG> <MSG> <ID>2</ID> <STATUS>OK</STATUS> <INFO></INFO> </MSG> </MSGLST> </SESSION>