ACI API 26.3
ACI API Programming Guide

# The ACI Representation of XML

NOTE: The following section is not relevant to the .NET Knowledge Discovery 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>

Copyright 2026 Open Text
Version 26.3 | Last updated July 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery ACI API 26.3

Topic Title: The ACI Representation of XML