Import XML

Resource List

How to import a document which is directly related to one or more other document(s).

Within the resource list (<resourceList> element) arbitrary documents from the Sophora repository may be referenced:

[...]
  <resourceList>
    <document nodeType="NODETYPE">
      [...]
    </document>
    <document nodeType="NODETYPE">
      [...]
    </document>
  </resourceList>
  [...]

Placing documents in a <resourceList> element is useful if you want to import a document which is directly related to one or more other document(s). As an example consider an image gallery (a document itself!) which is to be created together with all the images that belong to the image gallery - in this case the image documents could be placed in the <resourceList> element of the image gallery document.

Due to the nested relation in the import XML, those documents that are located deeper in the XML level are imported first.

Last modified on 10/2/20

The content of this page is licensed under the CC BY 4.0 License. Code samples are licensed under the MIT License.

Icon