Open topic with navigation

# The ACI Representation of XML

NOTE:

The following section is not relevant to the .NET IDOL SDK.

Each XML entity in an XML document is represented by a `Data` ACI object (for the Java SDK, this is an `AciResponse` object), which holds the name of the XML entity and its value (if the XML entity contains plain text between its opening and closing tags, this text is considered to be its value, otherwise no value is stored).

The hierarchical structure of an XML document is preserved through a linked list. For example, if an XML entity contains another XML entity, the ACI object that represents the first XML entity represents the enclosed XML entity through a link to a child ACI object. If an XML entity contains multiple XML entities, the corresponding ACI objects are linked to each other, as well as to the parent ACI object. Each ACI object can point to a child branch and a sibling branch.

Consider the following example:

    <document>
      <section>
        <tag 1>text</tag 1>
      </section>
      <section>
        <tag 2>text</tag 2>
        <tag 3>text</tag 3>
        <tag 4>text</tag 4>
      </section>
    </document>

The XML fragment below is converted to the ACI object linked list as shown in the following diagram.

ACI objects representing XML in linked list

    <document>
       <section>
          <tag 1>text</tag 1>
       </section>
       <section>
          <tag 2>text</tag 2>
          <tag 3>text</tag 3>
          <tag 4>text</tag 4>
       </section>
    </document>

© 2018 Micro Focus or one of its affiliates | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm