Dumps the contents of the entire XML object into log messages.

Syntax

void XML_DumpXmlObject(
  XML_HANDLE hXml
);

Parameters

hXml
[in] XML handle

Return value

None.

Remarks

Dumps the contents of the entire XML object specified by the XML handle into log messages.

Requirements

Header file:
XML.h
CodeConversion.h : ver. 1.1.1 or later.
Library file:
libXML.a
libCodeConversion.a : ver.1.1.1 or later
libSTARTUPOPH5000.a

Sample

Example of log messages:

ROOT_ELEMENT:
    [request_message]
    ----------------
        [issuer]
        .value => [SALES0001]
        ----------------
        [ship_order]
        ----------------
            [date]
            .value => [2021/09/10]
            ----------------
            [customer]
            ----------------
                [customerID]
                .value => [C00001]
                ----------------
                [name]
                .value => [A corporation]
                ----------------
            [orders]
            ----------------
                [order]
                ----------------
                    [productID]
                    .value => [PID0000100]
                    ----------------
                    [name]
                    .value => [A product]
                    ----------------
                [order]
                ----------------
                    [productID]
                    .value => [PID0000200]
                    ----------------
                    [name]
                    .value => [B product]
                    ----------------

XML source data:

<request_message>
  <issuer>SALES0001</issuer>
  <ship_order>
    <date>2021/09/10</date>
    <customer>
      <customerID>C00001</customerID>
      <name>A corporation</name>
    </customer>
    <orders>
      <order>
        <productID>PID0000100</productID>
        <name>A product</name>
      </order>
      <order>
        <productID>PID0000200</productID>
        <name>B product</name>
      </order>
    </orders>
  </ship_order>
</request_message>

See also

Last updated: 2021/10/21