xmlbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raov <prasadvem...@gmail.com>
Subject Re: I am very new to xmlbean Plz help me
Date Wed, 28 Mar 2007 10:26:53 GMT

Thank you Poorna,

i had already done that way. but i need to know is there any other
possibilities.
any how thanks for u'r reply


Poornachandran wrote:
> 
> I dont think, there is any way to do this. I think, you can simply 
> ignore the other classes generated.
> 
> ~Poorna
> 
> raov wrote:
>> Hi, 
>>
>> I am very new to xml beans. 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: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:schema> 
>>
>> when i was compiling  this xsd file i am getting beans
>> customer,lineitem,purchaseorderdocument, purchaseorder. but my
>> requirement
>> is, I want to compile part of xsd file means need to generate only
>> "customer" related beans no need to generate "lineItem" beans. Is there
>> any
>> way to compile part of xsd file. if it's there or not let me know. kindly
>> help ASAP. 
>>
>>
>>
>>   
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
> For additional commands, e-mail: dev-help@xmlbeans.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/I-am-very-new-to-xmlbean-Plz-help-me-tf3478850.html#a9710927
Sent from the Xml Beans - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


Mime
View raw message