The XML (Extensible Markup Language) is such a standard of a data-format describing language which makes possible the displaying and the efficient storing of documents and hierarchic structured data.
The logical structure and construction of an XML document can be defined with the DTD (Document Type Definition). By the help of DTD the document can be taken into fields. (Into "units bearing a name", into "pieces")
The Electra gives the possibility to import orders, which were given in XML-format files. In the following we will give the payment orders’ DTD for HUF payment (HUF), the payment orders’ DTD for international payment (DEV), and the payment orders’DTD of collection order (INK). In every case, we can give several transactions (or collections) in the same XML data.
Following the HUFTransactions DTD, we will give as an example the physical construction of the XML-document named "payment order for HUF payment".
Marks, used in the comments of DTDs’:
The Electra program can recognize the following coding of characters with accent mark in XML data: utf-8, iso-8859-1, iso-8859-2, cp-852. By the rules of XML, you have to write the sign < instead of the sign <, the sign > instead of the sign >, and the sign & instead of the sign & in case of series of characters which can be found in the values of the fields.
|
Example
Item 1:
Beneficiary’s name: Kiss János
Beneficiary’s account number: 400018-11111111-11111111
Serial number: 1024
1st line of the details: The K02340234 account is equalized
Amount to transfer: 100 000 Ft
Amount’s currency: forint
Value date: 2002.08.25
Item 2:
Beneficiary’s name: Nagy János
Beneficiary’s account number: 11501402-11111111-22222222
Amount to transfer: 150 000 Ft
Item 3:
Beneficiary’s name: Nagy Lajos
Beneficiary’s account number: 11501402-11111111
Amount to transfer: 200 000 Ft
Value date: 2002.08.26
<?xml version="1.0" encoding="iso-8859-2"?> |
The text was broken into pieces for the better reading only. The same format of XML’s data is allowed, but not absolutely necessary.
|