xmlbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Poornachandran <chandran.poo...@gmail.com>
Subject Re: I am very new to xmlbean Plz help me
Date Wed, 28 Mar 2007 10:08:23 GMT
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


Mime
View raw message