I want to use two schemas in one X-application

X-Application Version: 4.1.1
Tamino Version : 4.1.1
Platform : Win2k
WebContainer : Tamocat 4.1.1
JDK Version : 1.4.1

I want to use two schemas in one X-application. Is it possible and how would I go about doing it? Following is the scenario

I have two schemas one is catalog and another is order. I want to use the application to make an order and it retrives the information from catalog to show the available items.

Hi Peri,

First of all, it is possible to create applications using multiple schemas, but
Second, it is not possible to use the X-Application Generator for that.

The Generator allows to create applications with with a single schema. If you want to use an additional schema, then you need to modify your application: just add the additional schema information into your xapplication.xml file:
e.g.

  <collection name="&examples_collection;" variable="xappCollection">
            <schema name="customer" />
            <schema name="invoice" />
        </collection>


I would recommend you to have a look onto our Invoice example we provide with X-Aplication. It shows how to deal with multiple Doctypes/Schemas.

http://localhost:8080/xapp/index.html

Hope this information will help you.

Bye
Thorsten