Dumps the contents of the node into log messages.

Syntax

void XML_DumpNode(
  XML_Node *node
);

Parameters

node
[in] A pointer to the XML_Node structure of the node.

Return value

None.

Remarks

Dumps the contents of the specified node 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:

[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> ← The node passed to XML_DumpNode function.
      <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