Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

Exporting content class definition as XML Schema

Once you have chosen which content classes (and which of their attributes) you would like to export, you can export all their definitions in a single XML schema file. To do this, go to the «Setup» tab in the Administration Interface and select «Classes» from the left menu. You should get the following screen:

By clicking on the «Export content classes as XML Schema» button all the classes of content defined as exportable will be exported. Save the result on your disk.

If you canceled the download, a copy of this schema is saved at the following location:

/path/to/your/ezpublish/directory/extension/ezxmlexport/xsd/contentclassdefinition.xsd

If you want to validate the XML Schema definition, you can do so by using Exchanger XML Editor available at the following website:

Creating a new export

In order to create new export you have to create a new customer first and then add a new export for this customer. To do this, go to the «Setup» tab in the Administration Interface and select «XML export» from the left menu. The following screen will appear:

Adding a new customer

In order to add a new customer you have to click the «Add a customer» button. You should get the following screen:
 

The name and the slicing mode are mandatory. The FTP information is optional.

Defining a new export

Once you created a new customer you should get the following screen:
 

In order to create a new export for this customer, click the «Create an export for this customer» button. The following screen should appear:

Fill in the fields and validate by clicking the «OK» button.

Ester Heylen (06/11/2009 5:49 pm)

Geir Arne Waaler (22/10/2010 11:30 am)

Ester Heylen, Geir Arne Waaler


Comments

  • not working on v4.3

    Hi !
    I tryed to install this extension on the 4.3 version of Ez publish.I have activated it in the Admin > extension menu but I don't see any "Export content classes as XML Schema" button. I don't see any "XML export" link in the administration Interface and when I try to see if a class is exportable or not I don't see the "Available for XML export" attribute ...
    Is this extension ready for the v4.3 ? What is the way to install correctly this extension ? copy the extension folder in the eZ publish extension folder and activate it in the administration menu ?
    Thank you in advance.
    • Re: not working on v4.3

      Hi,

      The proper install manual will soon be added to the online documentation.
      For now you can follow the guidelines provided by the file "doc/Documentation.rst" included in the download.