Posts

Showing posts with the label visual editor

Schema to XML document by JDeveloper

Image
This tutorial explain creating xml schema from scratch and creating xml document from it as well. Jdeveloper 10g has a very easy visual editor for creating xml schema as well as xml document. It is considered that you have basic knowledge of schema. Here are step by step approach 1.Create new project and them create new XML schema   2.By default, a simple schema header tag  and an example element   3. Here we are going to construct schema for an Order xml document like  Order>>Item_list>>Item . A order will have id,description,shipTo address and list of items. To construct such structure we will have three complex type order_type, item_type and order_list_type. So create order_type complex type by drag and drop Complex Type component and edit properties   4. Now drag and drop sequence component to complex component 5.  now drag and drop element components one by one and edit the properties   6. There ...