[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Date format
Depending on what database you have and how you are extracting the data
into XML, you could format the date when you query the
database. Alternatively, you could extract just the portion you need form
the XML "YYYY-MM-DD" by modifying your select to:
<xsl:value-of select="substring-before(the_date, ' ')"/> rick At 07:07 PM 8/22/03 +0200, you wrote: hello from one database i get the date format with this: <xsl:value-of select="the_date"/> (the_date is the field nakme in the xml tree) and appears in this format: 2003-08-22 18:32:05
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|