7. Додаток

7.1. DTD для перевірки вірності створення XML-повідомлень
7.1.1. DTD для перевірки вірності створення повідомлення "Інформація про документ"
 <?xml version = "1.0" encoding = "windows-1251"?>
<!ELEMENT ADDRPERS (PERSON)>
 
<!ELEMENT APPLICATION (#PCDATA)>
 <!ATTLIST APPLICATION
 type CDATA #REQUIRED>
 
<!ELEMENT ATTACHES (CONTENT+)>
 <!ELEMENT AUTHORCODE (#PCDATA)>
 <!ATTLIST AUTHORCODE
 type CDATA #REQUIRED>
 
<!ELEMENT CAPTION>
 <!ATTLIST CAPTION
 type CDATA #REQUIRED>
 
<!ELEMENT CLOSEDATE EMPTY>
 <!ATTLIST CLOSEDATE
 type CDATA #REQUIRED>
 
<!ELEMENT CODE>
 <!ATTLIST CODE
 type CDATA #REQUIRED>
 
<!ELEMENT CONTENTTYPE (#PCDATA)>
 <!ATTLIST CONTENTTYPE
 type CDATA #REQUIRED>
 
<!ELEMENT COMPRESSED (#PCDATA)>
 <!ATTLIST COMPRESSED
 type CDATA #REQUIRED>
 
<!ELEMENT CONTENT (FILENAME*, APPLICATION*, DESCRIPTION*,
 
DOCCONTENT, CONTENTTYPE, ORIGINAL_SIZE*, COMPRESSED*)>

<!ELEMENT DEADLINE EMPTY>
 <!ATTLIST DEADLINE
 type CDATA #REQUIRED>
 
<!ELEMENT DESCRIPTION (#PCDATA)>
 <!ATTLIST DESCRIPTION
 type CDATA #REQUIRED>
 
<!ELEMENT DOCCONTENT (#PCDATA)>
 <!ATTLIST DOCCONTENT
 type CDATA #REQUIRED>
 
<!ELEMENT DOCITEMS (DOCITEM+)>
 <!ELEMENT DOCITEM (ITEMNUMBER, SHORTCONTENT, DEADLINE,
 
PERFORMERS, CTRLLEVEL, NOTES*)>

<!ELEMENT DOCTYPE (CODE, CAPTION)>
 
<!ELEMENT INFO_DOC (REGNUMBER, REGDATE, AUTHORCODE, DOCTYPE,
 
SUBTYPE_FULLCAPTION, SHORTCONTENT, ORG, SIGNER, CLOSEDATE,
DEADLINE, ATTACHES*, DOCITEMS*, PARTICTRG, PARTICSRC,
SENDTIME, PACKAGETYPE, PACKAGE_GUID, LINKDOC*, ADDRPERS,
QUESTION, SIGNATURES*, TIMELABELS*)>

<!ELEMENT FILENAME (#PCDATA)>
 <!ATTLIST FILENAME
 type CDATA #REQUIRED>
 
<!ELEMENT MIDDLENAME (#PCDATA)>
 <!ATTLIST MIDDLENAME
 type CDATA #REQUIRED>
 
<!ELEMENT LASTNAME (#PCDATA)>
 <!ATTLISTLASTNAME
 type CDATA #REQUIRED>
 
<!ELEMENT LINKDOC (INFO_DOC)>
 
<!ELEMENT_NAMEENGINE (#PCDATA)>
 <!ATTLIST NAMEENGINE
 type CDATA #REQUIRED>
 
<!ELEMENT_FIRSTNAME (#PCDATA)>
 <!ATTLIST FIRSTNAME
 type CDATA #REQUIRED>
 
<!ELEMENT POSITION (#PCDATA)>
 <!ATTLIST POSITION
 type CDATA #REQUIRED>
 
<!ELEMENT REGION (#PCDATA)>
 <!ATTLIST REGION
 type CDATA #REQUIRED>
 
<!ELEMENT ADDR (#PCDATA)>
 <!ATTLIST ADDR
 type CDATA #REQUIRED>
 
<!ELEMENT CTRLLEVEL (CODE, CAPTION)>
 
<!ELEMENT NOTES (#PCDATA)>
 <!ATTLIST NOTES
 type CDATA #REQUIRED>
 
<ELEMENT ORG (ORGANIZATION)>
 <!ELEMENT ORGANIZATION (CODE, CAPTION, DESCRIPTION, OKPO)>
 
<!ELEMENT ORIGINAL_SIZE (#PCDATA)>
 <!ATTLIST ORIGINAL_SIZE
 type CDATA #REQUIRED>
 
<!ELEMENT QUESTION (#PCDATA)>
 <!ATTLIST QUESTION
 type CDATA #REQUIRED>
 
<!ELEMENT PACKAGETYPE (#PCDATA)>
 <!ATTLIST PACKAGETYPE
 type CDATA #REQUIRED>
 
<!ELEMENT PACKAGE_GUID (#PCDATA)>
 <!ATTLIST PACKAGE_GUID
 type CDATA #REQUIRED>
 
<!ELEMENT PARTICSRC (#PCDATA)>
 <!ATTLIST PARTICSRC
 type CDATA #REQUIRED>
 
<!ELEMENT PARTICTRG (#PCDATA)>
 <!ATTLIST PARTICTRG
 type CDATA #REQUIRED>
 
<!ELEMENT PERF (#PCDATA)>
 <!ATTLIST PERF
 type CDATA #REQUIRED>
 
<!ELEMENT PERFORMERS (PERFORMER+)>
 <!ELEMENT PERFORMER (ROLE, ORG, PERF, DEADLINE, TASK)>
 
<!ELEMENT PERSON (CODE, LASTNAME, MIDDLENAME, FIRSTNAME,
 
POSITION, REGION, STATUS, ADDR)>

<!ELEMENTREGDATE (#PCDATA)>
 <!ATTLISTREGDATE
 type CDATA #REQUIRED>
 
<!ELEMENT REGNUMBER (#PCDATA)>
 <!ATTLIST REGNUMBER
 type CDATA #REQUIRED>
 
<!ELEMENT ITEMNUMBER (#PCDATA)>
 <!ATTLIST ITEMNUMBER
 type CDATA #REQUIRED>
 
<!ELEMENT ROLE (CODE, CAPTION)>
 <!ELEMENT SIGNATURES (SIGNATURE+)>
 <!ELEMENT SIGNATURE (DIGITALSIGNATURE.TIMESTAMP, SIGNER,
 
NAMEENGINE)>

<!ELEMENT STATUS (#PCDATA)>
 <!ATTLIST
 type CDATA #REQUIRED>
 
<!ELEMENT SENDTIME (#PCDATA)>
 <!ATTLIST SENDTIME
 type CDATA #REQUIRED>
 
<!ELEMENT SHORTCONTENT (#PCDATA)>
 <!ATTLIST SHORTCONTENT
 type CDATA #REQUIRED>
 
<!ELEMENT SIGNER (PERSON)>
 
<!ELEMENT SUBTYPE_FULLCAPTION (#PCDATA)>
 <!ATTLIST SUBTYPE_FULLCAPTION
 type CDATA #REQUIRED>
 
<!ELEMENT TASK (#PCDATA)>
 <!ATTLIST TASK
 type CDATA #REQUIRED>
 
<!ELEMENT TIMELABELS (TIMELABEL+)>
 <!ELEMENT TIMELABEL (LABEL, DESCRIPTION)>

7.1.2 DTD для перевірки вірності створення повідомлення "Підтвердження реєстрації"
 <?xml version = "1.0" encoding = "windows-1251"?>

<!ELEMENT AUTHORCODE (#PCDATA)>
 <!ATTLIST AUTHORCODE
 type CDATA #REQUIRED>
 
<!ELEMENT CORREGDATE (#PCDATA)>
 <!ATTLIST CORREGDATE
 type CDATA #REQUIRED>
 
<!ELEMENT CORREGNUMBER (#PCDATA)>
 <!ATTLIST CORREGNUMBER
 type CDATA #REQUIRED>
 
<!ELEMENT PACKAGETYPE (#PCDATA)>
 <!ATTLIST PACKAGETYPE
 type CDATA #REQUIRED>
 
<!ELEMENT PACKAGE_GUID (#PCDATA)>
 <!ATTLIST PACKAGE_GUID
 type CDATA #REQUIRED>
 
<!ELEMENT PARTICSRC (#PCDATA)>
 <!ATTLIST PARTICSRC
 type CDATA #REQUIRED>
 
<!ELEMENT PARTICTRG (#PCDATA)>
 <!ATTLIS TPARTICTRG
 type CDATA #REQUIRED>
 
<!ELEMENT Perfom_reg (REGNUMBER, REGDATE, AUTHORCODE,
 
CORREGNUMBER, CORREGDATE, PARTICTRG, PARTICSRC, SENDTIME,
PACKAGETYPE, PACKAGE_GUID)>

<!ELEMENT REGDATE (#PCDATA)>
 <!ATTLIST REGDATE
 type CDATA #REQUIRED>
 
<!ELEMENT REGNUMBER (#PCDATA)>
 <!ATTLIST REGNUMBER
 type CDATA #REQUIRED>
 
<!ELEMENT SENDTIME (#PCDATA)>
 <!ATTLIST SENDTIME
 type CDATA #REQUIRED>

7.1.3. DTD для перевірки вірності створення повідомлення "Відмова від прийняття"
 <?xml version = "1.0" encoding = "windows-1251"?>

<!ELEMENT AUTHORCODE (#PCDATA)>
 <!ATTLIST AUTHORCODE
 type CDATA #REQUIRED>
 
<!ELEMENT PACKAGETYPE (#PCDATA)>
 <!ATTLIST PACKAGETYPE
 type CDATA #REQUIRED>
 
<!ELEMENT PACKAGE_GUID (#PCDATA)>
 <!ATTLIST PACKAGE_GUID
 type CDATA #REQUIRED>
 
<!ELEMENT PARTICSRC (#PCDATA)>
 <!ATTLIST PARTICSRC
 type CDATA #REQUIRED>
 
<!ELEMENT PARTICTRG (#PCDATA)>
 <!ATTLIST PARTICTRG
 type CDATA #REQUIRED>
 
<!ELEMENT Perfom_nack (REGNUMBER, REGDATE, AUTHORCODE,
 
REASON, PARTICTRG, PARTICSRC, SENDTIME, PACKAGETYPE,
PACKAGE_GUID)>

<!ELEMENT REASON (#PCDATA)>
 <!ATTLIST REASON
 type CDATA #REQUIRED>
 
<!ELEMENT REGDATE (#PCDATA)>
 <!ATTLIST REGDATE
 type CDATA #REQUIRED>
 
<!ELEMENT REGNUMBER (#PCDATA)>
 <!ATTLIST REGNUMBER
 type CDATA #REQUIRED>
 
<!ELEMENT SENDTIME (#PCDATA)>
 <!ATTLIST SENDTIME
 type CDATA #REQUIRED>

7.1.4. DTD для перевірки вірності створення повідомлення "Запит про хід виконання"
 <?xml version = "1.0" encoding = "windows-1251"?>

<!ELEMENT AUTHORCODE (#PCDATA)>
 <!ATTLIST AUTHORCODE
 type CDATA #REQUIRED>
 
<!ELEMENT ITEMNUMBER (#PCDATA)>
 <!ATTLIST ITEMNUMBER
 type CDATA #REQUIRED>
 
<!ELEMENT PACKAGETYPE (#PCDATA)>
 <!ATTLIST PACKAGETYPE
 type CDATA #REQUIRED>
 
<!ELEMENT PACKAGE_GUID (#PCDATA)>
 <!ATTLIST PACKAGE_GUID
 type CDATA #REQUIRED>
 
<!ELEMENT PARTICSRC (#PCDATA)>
 <!ATTLIST PARTICSRC
 type CDATA #REQUIRED>
 
<!ELEMENT PARTICTRG (#PCDATA)>
 <!ATTLIST PARTICTRG
 type CDATA #REQUIRED>
 
<!ELEMENT REGDATE (#PCDATA)>
 <!ATTLIST REGDATE
 type CDATA #REQUIRED>
 
<!ELEMENT REGNUMBER (#PCDATA)>
 <!ATTLIST REGNUMBER
 type CDATA #REQUIRED>
 
<!ELEMENT REQUESTTEXT (#PCDATA)>
 <!ATTLIST REQUESTTEXT
 type CDATA #REQUIRED>
 
<!ELEMENT STAGEDATE (#PCDATA)>
 <!ATTLIST STAGEDATE
 type CDATA #REQUIRED>
 
<!ELEMENT SENDTIME (#PCDATA)>
 <!ATTLIST SENDTIME
 type CDATA #REQUIRED>
 
<!ELEMENT Stage_info (REGNUMBER, REGDATE, AUTHORCODE,
 
STAGEDATE, ITEMNUMBER, REQUESTTEXT, PARTICTRG, PARTICSRC,
SENDTIME, PACKAGETYPE, PACKAGE_GUID)>

7.1.5. DTD для перевірки вірності створення повідомлення "Звіт про хід виконання"
 <?xml version = "1.0" encoding = "windows-1251"?>

<!ELEMENT AUTHORCODE (#PCDATA)>
 <!ATTLIST AUTHORCODE
 type CDATA #REQUIRED>
 
<!ELEMENT CAPTION (#PCDATA)>
 <!ATTLIST CAPTION
 type CDATA #REQUIRED>
 
<!ELEMENT_CODE (#PCDATA)>
 <!ATTLIST CODE
 type CDATA #REQUIRED>
 
<!ELEMENT ITEMNUMBER (#PCDATA)>
 <!ATTLIST ITEMNUMBER
 type CDATA #REQUIRED>
 
<!ELEMENT PACKAGETYPE (#PCDATA)>
 <!ATTLIST PACKAGETYPE
 type CDATA #REQUIRED>
 
<!ELEMENT PACKAGE_GUID (#PCDATA)>
 <!ATTLIST PACKAGE_GUID
 type CDATA #REQUIRED>
 
<!ELEMENT PARTICSRC (#PCDATA)>
 <!ATTLIST PARTICSRC
 type CDATA #REQUIRED>
 
<!ELEMENT PARTICTRG (#PCDATA)>
 <!ATTLIST PARTICTRG
 type CDATA #REQUIRED>
 
<!ELEMENT Perform_info (REGNUMBER, REGDATE, AUTHORCODE,
 
STAGEDATE, ITEMNUMBER, RESULTCODE, RESULTCONTENT, RESULTDATE,
PARTICTRG, PARTICSRC, SENDTIME, PACKAGETYPE, PACKAGE_GUID)>

<!ELEMENT REGDATE (#PCDATA)>
 <!ATTLIST REGDATE
 type CDATA #REQUIRED>
 
<!ELEMENT REGNUMBER (#PCDATA)>
 <!ATTLIST REGNUMBER
 type CDATA #REQUIRED>
 
<!ELEMENT RESULTCODE (CODE, CAPTION)>
 
<!ELEMENT RESULTCONTENT (#PCDATA)>
 <!ATTLIST RESULTCONTENT
 type CDATA #REQUIRED>
 
<!ELEMENT RESULTDATE (#PCDATA)>
 <!ATTLIST RESULTDATE
 type CDATA #REQUIRED>
 
<!ELEMENT SENDTIME (#PCDATA)>
 <!ATTLIST SENDTIME
 type CDATA #REQUIRED>
 
<!ELEMENT STAGEDATE (#PCDATA)>
 <!ATTLIST STAGEDATE
 type CDATA #REQUIRED>

7.1.6. DTD для перевірки вірності створення повідомлення "Оцінка виконання"
 <?xml version = "1.0" encoding = windows-1251"?>

<!ELEMENT AUTHORCODE (#PCDATA)>
 <!ATTLIST AUTHORCODE
 type CDATA #REQUIRED>
 
<!ELEMENT DESCRIPTION (#PCDATA)>
 <!ATTLIST DESCRIPTION
 type CDATA #REOUIRED>
 
<!ELEMENT DONEDATE (#PCDATA)>
 <!ATTLIST DONEDATE
 type CDATA #REQUIRED>
 
<!ELEMENT ITEMNUMBER (#PCDATA)>
 <!ATTLIST ITEMNUMBER
 type CDATA #REQUIRED>
 
<!ELEMENT PACKAGETYPE (#PCDATA)>
 <!ATTLIST PACKAGETYPE
 type CDATA #REQUIRED>
 
<!ELEMENT PACKAGE_GUID (#PCDATA)>
 <!ATTLIST PACKAGE_GUID
 type CDATA #REQUIRED>
 
<!ELEMENT PARTICSRC (#PCDATA)>
 <!ATTLIST PARTICSRC
 type CDATA #REQUIRED>
 
<!ELEMENT PARTICTRG (#PCDATA)>
 <!ATTLIST PARTICTRG
 type CDATA #REQUIRED>
 
<!ELEMENT Perform_ack (REGNUMBER, REGDATE, AUTHORCODE,
 
ITEMNUMBER*, DONEDATE, DESCRIPTION*, PARTICTRG, PARTICSRC,
SENDTIME, PACKAGETYPE, PACKAGE_GUID)>

<!ELEMENT REGDATE (#PCDATA)>
 <!ATTLIST REGDATE
 type CDATA #REQUIRED>
 
<!ELEMENT ITEMNUMBER (#PCDATA)>
 <!ATTLIST ITEMNUMBER
 type CDATA #REQUIRED>
 
<!ELEMENT SENDTIME (#PCDATA)>
 <!ATTLIST SENDTIME
 type CDATA #REQUIRED>

7.2. Приклади формування XML-повідомлень
7.2.1. Приклад XML-повідомлення "Інформація про документ"

<?xml version = "1.0" encoding = "wmdows-1251"?>
     <!DOCTYPE Info_Doc SYSTEM "[dtd | url]>">

<Info_doc>
<REGNUMBER type = "string">97/0/02-04</REGNUMBER>
<REGDATE type = "string">22.10.2004 12:14:07</REGDATE>
<AUTHORCODE type = "string">011</AUTHORCODE>
<PARTICTRG type = "string">0204</PARTICTRG>
<PARTICSRC type = "string">0201</PARTICSRC>
<SENDTIME type = "string">22.10.2004 14:37:38</SENDTIME>
<PACKAGETYPE type = "strmg">new_infodoc</PACKAGETYPE>
<PACKAGE_GUID type = "string">8FA6E638Bl 1F4D0A887AFB7908810
A8E</PACKAGE_GUID>
 <DOCTYPE>
 <CODE type = "string">01</CODE>
 <CAPTION type = "strmg"> Запит депутата </CAPTION>
 </DOCTYPE>
 <SUBTYPE_FULLCAPTION type = "string">2/1 - Запит
 депутата</SUBTYPE_FULLCAPTION>
 <SHORTCONTENT type = "string">2 аттача!</SHORTCONTENT>
 <CORR>
 <ORGANIZATION>
 <CODE type = "string">01</CODE>
 <CAPTION type = "string">КМУ</CAPTION>
 <DESCRIPTION type = "string">Кабінет Міністрів
 
України</DESCRIPTION>
</ORGANIZATION>
 </CORR>
 <SIGNER>
 <PERSON>
 <CODE type = "string">01</CODE>
 <LASTNAME type = "string">Петрова Н.І.</LASTNAME>
 <FIRSTNAME type = "string">Ніна</FIRSTNAME>
 <MIDDLENAME type = "string">Іванівна</MIDDLENAME>
 </PERSON>
 </SIGNER>
 <ADDRPERS>
 <CODE type = "string">06</CODE>
 <CAPTION type = "string">Азаров М.Я.</CAPTION>
 </ADDRPERS>
 <CLOSEDATE type = "string"/></CLOSEDATE>
 <DEADLINE type = "string"/>28.10.2004</DEADLINE>
 <ATTACHES>
 <CONTENT>
 <FILENAME type = "string"> Проект постанови
 щодо впровадження...doc</FILENAME>
 <APPLICATION type = "string">Microsoft Word</APPLICATION>
 <DESCRIPTION type ="string">Проект постанови № 234 від
 
10.04.2004 щодо...</DESCRIPTION>
<DOCCONTENT type = "bin.hex" >005e0000425a68333141592653598704-
4ce20006f9ffffffffffffffff7f7dffffdedcffff....
</DOCCONTENT>
 <CONTENTTYPE type = "string">Файл Microsoft Word</CONTENTTYPE>
 <ORIGINAL_SIZE type = "number">24064</ORIGINAL_SIZE>
 <COMPRESSED type = "number">-1</COMPRESSED>
 </CONTENT>
 <CONTENT>
 <FILENAME type = "string">Таблиця порівнянь до проекту
 постанови...doc</FILENAME>
 <APPLICATION type = "string">Microsoft Word</APPLICATION>
 <DESCRIPTION type = "string">Таблиця порівнянь до проекту
 постанови...</DESCRIPTION>
 <DOCCONTENT type =
 "bin.hex">007a0000425a683331415926535914bae2ae0-
 018317ffffffffffffffffffdfffffffdffffff...
 </DOCCONTENT>
 <ORIGINAL_SIZE type = "number">31232</ORIGINAL_SIZE>
 <COMPRESSED type = "number">-1</COMPRESSED>
 </CONTENT>
 </ATTACHES>
 <DOCITEMS>
 <DOCITEM>
 <REGNUMBER type = "string"> 1a</REGNUMBER>
 <SHOTCONTENT type = "string" >Розробити проект
 закону</SHOTCONTENT>
 <DEADLINE type = "string">28.10.2004</DEADLINE>
 <PERFORMERS>
 <PERFORMER>
 <ROLE>
 <CODE type = "string">01</CODE>
 <CAPTION type = "srting">Головний виконавець</CAPTION>
 </ROLE>
 <ORG>
 <ORGANIZATION>
 <CODE type = "string">01/CODE>
 <CAPTION type = "string">Міністерство з питань...</CAPTION>
 <DESCRIPTION type = "string" >Міністерство з
 питань...</DESCRIPTION
 </ORGANIZATION>
 </ORG>
 <DEADLINE type = "string">27.10.2004</DEADLINE>
 <TASK type = "string">Розробити проект закону</TASK>
 </PERFORMER>
 </PERFORMERS>
 </DOCITEM>
 </DOCITEMS>
 <LINKDOC>
 <INFO_DOC>
 <REGNUMBER type = "string">97/0/02-04</REGNUMBER>
 <REGDATE type = "string">22.10.2004 12:14:07</REGDATE>
 <DOCTYPE>
 <CODE type = "string">01</CODE>
 <CAPTION type = "string"> Запит депутата </CAPTION>
 </DOCTYPE>
 <SUBTYPE_FULLCAPTION type = "string" >4/1 -
 
Доручення</SUBTYPE_FULLCAPTION>
<SHORTCONTENT type = "string">2 аттача!</SHORTCONTENT>
</INFO_DOC>
 </LINKDOC>
 </Info_Doc>

7.2.2. Приклад XML-повідомлення "Підтвердження реєстрації"

  <!DOCTYPE Perfom_reg SYSTEM "[dtd | url]>">

<Perfom_reg>
<REGNUMBER type = "string"> 115/0/02-04</REGNUMBER>
<REGDATE type = "string">20.10.2003 00:00:00</REGDATE>
<AUTHORCODE type = "string">011 </AUTHORCODE>
<PARTICTRG type = "string">0201>/PARTICTRG>
<PARTICSRC type = "string">0204</PARTICSRC>
<SENDTIME type = "string">08.10.2004 13:12:01</SENDTIME>
<PACKAGETYPE type = "string">perform_reg</PACKAGETYPE>
<PACKAGE_GUID type = "string">7C55EC3FBDD44D02870235CCA370
A002</PACKAGE_GUID>
 <CORREGNUMBER type = "string">01/14</CORREGNUMBER>
 <CORREGDATE type = "string">20.10.2003 00:00:00</CORREGDATE>
 </Perfom_reg>

7.2.3. Приклад XML-повідомлення "Відмова від прийняття"

<?xml version = "1.0" encoding = "windows-1251"?>
  <!DOCTYPE Perfom_nack SYSTEM "[dtd | url]>">

<Perfom_nack>
<REGNUMBER type = "string"> 115/0/02-04</REGNUMBER>
<REGDATE type = "string">20.10.2003 00:00:00</REGDATE>
<AUTHORCODE type = "string">011 </AUTHORCODE>
<PARTICTRG type = "string">0201</PARTICTRG>
<PARTICSRC type = "string">0204</PARTICSRC>
<SENDTIME type = "string">10.2004 15:08:50</SENDTIME>
<PACKAGETYPE type = "string">perform_nack</PACKAGETYPE>
<PACKAGE_GUID type = "string">307219A85B3E4A29ADFCD332632A5
411</PACKAGE_GUID>
 <REASON type = "string">Погано оформлений</REASON>
 </Perfom_nack>

7.2.4. Приклад XML-повідомлення "Запит про хід виконання"

<?xml version = "1.0" encoding = "windows-1251"?>
  <?DOCTYPE Stage_info SYSTEM "[dtd | url]">

<Stage_info>
<REGNUMBER type = "string">115/0/02-04</REGNUMBER>
<REGDATE type = "string">20.10.2003 00:00:00</REGDATE>
<AUTHORCODE type =" string">011</AUTHORCODE>
<PARTICTRG type = "string">0204</PARTICTRG>
<PARTICSRC type = "strmg">021</PARTICSRC>
<SENDTIME type = "string">07.10.2004 16:36:44</SENDTIME>
<PACKAGETYPE type = "string">stage_info</PACKAGETYPE>
<PACKAGE_GUID type =
"string">F920259E4C9A4B75A428868BB9B8F359</PACKAGE_GUID>
<STAGEDATE type = "string">07.10.2004 16:36:44</STAGEDATE>
<ITEMNUMBER type = "string">абз1</ITEMNUMBER>
<REQUESTTEXT type = "string">Срочно!</REQUESTTEXT>
</Stage_info>

7.2.5. Приклад XML-повідомлення "Звіт про хід виконання"

<? xml version = "1.0" encoding = "windows-1251"?>
  <!DOCTYPE Perform_info SYSTEM "[dtd | url]">

<Perform_info>
<REGNUMBER type = "string"> 115/0/02-04</REGNUMBER>
<REGDATE type = "string">20.10.2003 00:00:00</REGDATE>
<AUTHORCODE type = "string">011</AUTHORCODE>
<PARTICTRG type = "string">0201</PARTICTRG>
<PARTICSRC type = "string">0204</PARTICSRC>
<SENDTIME type = "string">08.10.2004 15:59:36</SENDTIME>
<PACKAGETYPE type = "string">perform_info</PACKAGETYPE>
<PACKAGE_GUID type = "string">FA431E9D034A469987CDC1222BOF7
858</PACKAGE_GUID>
 <STAGEDATE type = "string">08.10.2004 15:57:35</STAGEDATE>
 <ITEMNUMBER type = " string" >second</ITEMNUMBER>
 <RESULTCODE>
 <CODE type = "string">02</CODE>
 <CAPTION type = "string">Виконано</CODE>
 </RESULTCODE>
 <RESULTCONTENT type = "string">first</RESULTCONTENT>
 <RESULTDATE type = "string">09.10.2004 00:00:00</RESULTDATE>
 </Perform_info>

7.2.6. Приклад XML-повідомлення "Оцінка виконання"

<?xml version = "1.0" encoding = "windows-1251"?>
  <!DOCTYPE Perform_ack SYSTEM "[dtd | url]">

<Perform_ack>
<REGNUMBER type = "string">115/0/02-04</REGNUMBER>
<REGDATE type = "string">20.10.2003 00:00:00</REGDATE>
<AUTHORCODE type = "string">011</AUTHORCODE>
<PARTICTRG type = "string">0204</PARTICTRG>
<PARTICSRC type = "string">0201 </PARTICSRC>
<SENDTIME type = "string">08.10.2004 10:18:29</SENDTIME>
<PACKAGETYPE type = "string">perform_ack</PACKAGETYPE>
<PACKAGE_GUID type =
"string">B906F55FB6E241F18C6C91B6DB80C8E3</PACKAGE_GUID>
<ITEMNUMBER type = "string)">1</ITEMNUMBER>
<DONEDATE type = "string"> 17.10.2003 00:00:00</DONEDATE>
<DESCRIPTION type ="string">Виконано з порушенням
терміну</DESCRIPTION>
</Perform_ack>