File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes changing XMLGregorianCalendar.toXmlFormat() output Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "changing XMLGregorianCalendar.toXmlFormat() output" Watch "changing XMLGregorianCalendar.toXmlFormat() output" New topic
Author

changing XMLGregorianCalendar.toXmlFormat() output

L Duperval
Ranch Hand

Joined: May 14, 2003
Posts: 63
Hi,

I notice that later releases of the J2SE for the output of an XMLGregorianCalendar with the fractional second. Other than overriding the XMLGregorianCalendar class, is there a way to remove that part of the output?

Thanks,

L


Live Free, Live Happy
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

What do you mean by the "output" of that class?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: changing XMLGregorianCalendar.toXmlFormat() output
 
Similar Threads
convert XMLGregorianCalender into java.util.date
Simple Date/Time format question
xml date conversion all date conversions
How can dateTime field format can be controlled ?
Unmarshelling problem at the serverside in JAXWS