Import XML | Version 3

Importing Categories

How to import categories.

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

Documentation for Sophora 4

To import categories, the root element of an import XML file has to be <sophora>. This element must contain a child element <categories> which encapsulates the <category> elements. Each <category> element represents one category. The content of a <category> element has to contain the entire path of the category (path elements are separated by semicolons). If a given category already exists in the repository this category is ignored during the import process.

The following example demonstrates the XML of a category import:

<?xml version="1.0" encoding="UTF-8"?>
<sophora xmlns=""
    <category>Styles;Printed / Embellished</category>

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.