Import XML | Version 3


An overview of importing documents using Sophora's import XML including the general structure of a Sophora import XML file.

Archived documentation for Sophora 3. End-of-support date for this version: 7/25/21

Documentation for Sophora 4

The general structure of a Sophora import XML file looks like the following:

<?xml version="1.0" encoding="UTF-8"?>
<document nodeType="NODETYPE"
    <childNode nodeType="NODETYPE" name="CHILDNODE-NAME">
    <document nodeType="NODETYPE" externalID="EXTERNAL-ID">

The root element is <document>. Its attribute nodeType specifies the node type this document shall be assigned to. This property is required for new documents and all child nodes. Such a document comprises its properties (<properties> element), the entailed childnodes (<childNodes> element) and assigned documents (<resourceList> element). Furthermore, the <fields> element contains the document's metadata.

<?xml version="1.0" encoding="UTF-8"?>
<document nodeType="sophora-content:story"

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.