Hello Elias, There are clearly may ways to serialize a date, not only as a string but also as a number (number of time units since a specific date).
The date picker in XSLTForms is rendered for the xsd:date type but, to render it for other data types, it should be associated to a parent of it (to be defined). Then, new date types could be defined with a regular expression having named capture for parsing/serializing. All of this is not yet implemented (but should not require too much work...) and using XSLT 1.0 stylesheets before/after submission is currently the unique possibility. What do you think? -Alain Le 05/04/2013 18:32, Elias Mazur a écrit : > > Hi. > > I need to have the XForms display the date as "MM/dd/yyyy" but need to > have it written to the XML as "yyyyMMdd". I know of the format.date > on the config.xsl, but how can I configure to have it so the value > displayed is MMdd/yyyy and the internal value that is held in the > instance is "yyyyMMdd" > > Thanks. > Elias > ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Xsltforms-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xsltforms-support
