IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Profile: raov
About
User Name: raov
Forum Rank: Newbie
Real Name:
Location Bangalore
Occupation:
Interests:
Gender: None Specified
Statistics
Joined: Monday, April 2, 2007
Last Visit: Monday, April 9, 2007 1:07:24 PM
Number of Posts: 2
[0.01% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: Hi i am very new to xsd plz help me
Posted: Monday, April 9, 2007 1:07:23 PM
Hi Paul,
Hi Paul,

I am using xml beans whenever I am compiling above xsd file the xml bean software generating the interfaces and implementation classes for every complex type like in the above xsd file customer, line-item, shipper are 3 complex types, then I got there interfaces and implementation classes. But my requirement is I need to generate only customer related beans, no need to generate remains like line-item and shipper. Ultimately my requirement is I need to compile part of xsd file means in my example need to compile only customer complex type. Is there any possibility to use or compile part of xsd file. Please let me know ASAP.

Thanks
raov

Topic: Hi i am very new to xsd plz help me
Posted: Monday, April 2, 2007 7:22:11 AM
Hi I am very new to xsd please help me.
my requirement is I want to run part of xsd file, means
I have an xsd file.
<xs:schema targetNamespace="http://openuri.org/easypo"
xmlns:po="http://openuri.org/easypo"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">

<xs:element name="purchase-order">
<xs:complexType>
<xs:sequence>
<xs:element name="customer" type="po:customer"/>
<xs:element name="line-item" type="po:line-item" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="shipper" type="po:shipper" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="customer">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element name="address" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="line-item">
<xs:sequence>
<xs:element name="description" type="xs:string"/>
<xs:element name="per-unit-ounces" type="xs:decimal"/>
<xs:element name="price" type="xs:double"/>
<xs:element name="quantity" type="xs:int"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="shipper">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element name="per-ounce-rate" type="xs:decimal"/>
</xs:sequence>
</xs:complexType>
</xs:schema>

In the above xsd file have three complex types customer, line-item and shipper. I need to run only customer complex type no need to run entire xsd file. Is there any way to do like my requirement? plz let me know is there any way or not if is it possible then reply to me how can I solve my problem. Plz reply ASAP.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.