You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Danny Lin <Li...@doc.state.sc.us> on 2007/01/11 18:37:59 UTC
XMLBeans Date
I have an XMLBeans question.
I have something like this:
org.apache.xmlbeans.XmlDate addNewPersonBirthDate();
....
Axis2 is responding (in the actual XML document returning back to the
client) with this:
<PersonBirthDate>1934-12-16-05:00</PersonBirthDate>
Is it possible to change the format, especially removing the time
component (05:00)?
I would like to have <PersonBirthDate>12/16/1934</PersonBirthDate> if
possible.
Thanks.
Danny
RE: XMLBeans Date
Posted by lincoln zheng <li...@hotmail.com>.
Hi Lin,
>From API document, look into the Definition of XmlDate to see if you can do
something to meet your requirement or define a new type to meet your
requirement.
Best
>From: "Danny Lin" <Li...@doc.state.sc.us>
>Reply-To: user@xmlbeans.apache.org
>To: <us...@xmlbeans.apache.org>
>Subject: XMLBeans Date
>Date: Thu, 11 Jan 2007 12:37:59 -0500
>
>I have an XMLBeans question.
>
>I have something like this:
>org.apache.xmlbeans.XmlDate addNewPersonBirthDate();
>
>....
>
>Axis2 is responding (in the actual XML document returning back to the
>client) with this:
>
><PersonBirthDate>1934-12-16-05:00</PersonBirthDate>
>
>
>
>Is it possible to change the format, especially removing the time
>component (05:00)?
>
>I would like to have <PersonBirthDate>12/16/1934</PersonBirthDate> if
>possible.
>
>Thanks.
>
>Danny
>
>
>
_________________________________________________________________
Your opinion matters. Please tell us what you think and be entered into a
draw for a grand prize of $500 or one of 20 $50 cash prizes.
http://www.youthographyinsiders.com/R.aspx?a=116
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org