xmlbeans-dev mailing list archives

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


I am very new to xml beans. i  have an xsd file 

<xs:schema targetNamespace="http://openuri.org/easypo" 

    <xs:element name="purchase-order"> 
                <xs:element name="customer" type="po:customer"/> 
                <xs:element name="line-item" type="po:line-item"
minOccurs="0" maxOccurs="unbounded"/> 
    <xs:complexType name="customer"> 
            <xs:element name="name" type="xs:string"/> 
            <xs:element name="address" type="xs:string"/> 
    <xs:complexType name="line-item"> 
            <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"/> 

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. 

View this message in context: http://www.nabble.com/I-am-very-new-to-xmlbean-Plz-help-me-tf3478850.html#a9708854
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

View raw message