|
RE: Follow-up date formatting question: msg#00125text.xml.xmlbeans.user
No, unfortunately we don't have that option yet, even though I agree it would be a good idea. Radu -----Original Message----- From: TMG [mailto:tmg@xxxxxxxxx] Sent: Wednesday, January 19, 2005 12:18 PM To: user@xxxxxxxxxxxxxxxxxxx Subject: Follow-up date formatting question I need some help formatting the output of dates using v1.0.3. In searching the archive ... on May 12, 2004 Eric Vasilik wrote: "... one way to deal with your time-zone issue is to add an option which controls how the date is converted to text. We do have at least one document-wide setting for controlling is we validate simple types on upon set. It might be appropriate to add others." Was such an "option" added to globally format dates? If not, what I need to do is have the output of dates be of the format: yyyy-MM-dd'T'HH:mm:ss.SSS-zz:zz . What xmlbeans creates with toString() or xmlText() is: yyyy-MM-dd'T'HH:mm:ss.SSS'Z'. I have a routine that uses SimpleDateFormat to convert a Calendar into a String of that format ... if that is of any use. One way to solve the problem is to parse through all of the xml and reset the Date/Calendar with a XmlCursor, but that is both time consuming, and requires modules that don't manipulate the xml in any way to have knowledge of where each date is located in the schema ... which throws a lot of re-use out the window. Any help would be appreciated. Thanks, Tom Gordon --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@xxxxxxxxxxxxxxxxxxx For additional commands, e-mail: user-help@xxxxxxxxxxxxxxxxxxx |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: ClassCastException using changeType(): 00125, Scott Hinkelman |
|---|---|
| Next by Date: | Re: Problems trying to use annotation support in v2: 00125, Jim McMaster |
| Previous by Thread: | Follow-up date formatting questioni: 00125, TMG |
| Next by Thread: | rmic problem with xmlbeans and websphere: 00125, florian.hehlen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |