RE: Adding a xs:simpleType to the xml document

2008-05-15 Thread Radu Preotiuc-Pietro
, May 06, 2008 7:16 PM To: user@xmlbeans.apache.org; [EMAIL PROTECTED] Subject: Re: Adding a xs:simpleType to the xml document Hi John, If you have specify properties (ie, Type_Type) why isn't the type attribute set in your schema element? instead of: xs:element name=PropertyName/ try

RE: Adding a xs:simpleType to the xml document

2008-05-07 Thread John Gan
-Original Message- From: Jacob Danner [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 06, 2008 7:16 PM To: user@xmlbeans.apache.org; [EMAIL PROTECTED] Subject: Re: Adding a xs:simpleType to the xml document Hi John, If you have specify properties (ie, Type_Type) why isn't the type attribute set

Re: Adding a xs:simpleType to the xml document

2008-05-06 Thread Jacob Danner
Hi John, If you have specify properties (ie, Type_Type) why isn't the type attribute set in your schema element? instead of: xs:element name=PropertyName/ try xs:element name=PropertyName type=Type_Type/ This will let you have specific methods for setting those enumeration values. I think your