In case you haven't figured it out already, it is SchemaType.getFacet(SchemaType.FACET_LENGTH)
Radu > -----Original Message----- > From: youhaodeyi [mailto:[EMAIL PROTECTED] > Sent: Saturday, November 08, 2008 10:29 PM > To: [email protected] > Subject: How can I get the restriction in XMLbeans > > > I have such definition in xsd: > <element name="description"> > <simpleType> > <restriction > base="string"> > <length > value="10"></length> > </restriction> > </simpleType> > </element> > How can I get the length restriction? > thanks > -- > View this message in context: > http://www.nabble.com/How-can-I-get-the-restriction-in-XMLbean > s-tp20403093p20403093.html > Sent from the Xml Beans - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

