You are here:   » Home » Documentation » Details » How-To » Import/Export/XML » XML-Import

XML-Import Interface

For an own import interface the import file must be transformed at Server side (stepwise) so that it finally correspond to the generic XML scheme of ZMS. Besides XML also HTML files may be converted for the import via a ZMS-internal "filter process". The processing of primary HTML regularly is introduced by HTML TIDY for getting XSL-processable XHTML as transformation basis. The import file is transformed stepwise per XSL-transformation into the ZMS object scheme then.

Zoom (15KB)

Through the XML interface any kind of formats can be imported per XSL transformation.

Configuration

Add a file object in the folder /content/acl_xsl. As title state the title of the import DTD and as file the XSL transformation which transforms the import file into the ZMS-DTD. After insertion of the file object add the following characteristic in tabulator "Properties":

Tips & Tricks

Handling object IDs:
When importing data streams ZMS allocates new object IDs for all ZMS objects resp. ignores existing IDs. In case that internal references are existing the consistency of IDs is to be conserved by inserting the attribute id_fix instead of id, e.g. <ZMSDocument id_fix="e2231">.