|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
I work on Linux Os and using DB2 Express 9
Coustmer.xsd file is as below: <?xml version="1.0" encoding="utf-8"?> <xs:schema id="Customer" targetNamespace="http://tempuri.org/Customer.xsd" elementFormDefault="qualified" xmlns="http://tempuri.org/Customer.xsd" xmlns:mstns="http://tempuri.org/Customer.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xs:element name="Customer"> <xs:complexType> <xs:sequence> <xs:element name="CustomerID" type="xs:string" /> <xs:element name="CompanyName" type="xs:string" /> <xs:element name="ContactName" type="xs:string" minOccurs="0" /> <xs:element name="ContactTitle" type="xs:string" minOccurs="0" /> <xs:element name="Address" type="xs:string" minOccurs="0" /> <xs:element name="City" type="xs:string" minOccurs="0" /> <xs:element name="Region" type="xs:string" minOccurs="0" /> <xs:element name="PostalCode" type="xs:string" minOccurs="0" /> <xs:element name="Country" type="xs:string" minOccurs="0" /> <xs:element name="Phone" type="xs:string" minOccurs="0" /> <xs:element name="Fax" type="xs:string" minOccurs="0" /> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> As this file defines a table as following: Table name : Coustmer Table columns : CustomerID string, CompanyName string, ContactName string, ContactTitle string, Address string, City string, Region string, PostalCode string, Country string, Phone string, Fax string.... Now i want to register the above Customer.xsd file and check out the output ...... Please anyone could help me in this. Last edited by sumanthvm : February 1st, 2007 at 05:26 AM. Reason: to explain in a perfect manner what i need!! its very urgent |
![]() |
| Viewing: Dev Shed Forums > Databases > DB2 Development > How to create XML schema from DB2 database (v9.1) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|