The type that has the enum restriction facet applied to it will enclose a class named "Enum". Use that class's static method 'forString'.
You can also cheat and use the xset methods which is clunkier (but all the same if you plan to validate anyway). Ed On 2/20/06, Stéphane Rault <[EMAIL PROTECTED]> wrote: > Hi everyOne again. > > My question (already asked) has generate no answer. Is my english so bad > (i'm just a french you know...) or is there no answer to it ? > > > Hello everybody. > > > > I didn't find how to get the String value of an Enum > > attribute (based on > > xsd:restriction on string) ? > > Basically, I have a String value of the attribute and I want > > to find the > > Enum value generated by xmlbeans. Is this possible ? > > > > Thanks in advance > > -- > > Stéphane Rault. > > Selic (www.selic.info) > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.375 / Virus Database: 267.15.11/264 - Release Date: 17/02/2006 > > > > > > > > ___________________________________________________________________________ > Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs > exceptionnels pour appeler la France et l'international. > Téléchargez sur http://fr.messenger.yahoo.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]

