Results 1 to 2 of 2

Thread: XML/XSL date format

  1. #1
    Join Date
    Apr 2006
    Location
    Amsterdam
    Posts
    350
    Thanks
    20
    Thanked 11 Times in 11 Posts

    Default XML/XSL date format

    Does anyone know how to format date types in XML/XSL?(I’m a complete rookie with XML and XSL.)

    I've got this piece of XML:

    <shift>
    <startdt>2006-07-05T06:00</startdt>
    </shift>

    And I would like to display it as DD-MONTH NAME-YYYY.

    Is there any Split function or something else to do so?
    Last edited by Rappie; 27th July 2006 at 01:42 PM.

  2. #2
    Join Date
    Apr 2005
    Location
    Haslemere, Surrey, UK
    Posts
    338
    Thanks
    5
    Thanked 3 Times in 3 Posts

    Default

    Quote Originally Posted by Rappie
    Does any know how to format date types in XML/XSL?(I’m a complete rookie with XML and XSL.)

    I've got this piece of XML:

    <shift>
    <startdt>2006-07-05T06:00</startdt>
    </shift>

    And I would like to display it as DD-MONTH NAME-YYYY.

    Is there any Split function or something else to do so?
    Not sure it can be done in a simple way. You could preprocess the XML through an ASP page if its not too large.
    Alastair - WOWD



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. dates and uk / us format
    By askjim in forum ASP.NET
    Replies: 11
    Last Post: 29th November 2006, 09:38 AM
  2. Merge XML and XSL with ASP
    By Rappie in forum ASP (VBScript)
    Replies: 4
    Last Post: 28th June 2006, 12:57 AM
  3. Re: Catution when using XML for Logic
    By jaimalchohan in forum ASP.NET
    Replies: 3
    Last Post: 25th November 2005, 05:44 PM
  4. Toublesome Date!
    By s80wkr in forum ASP (VBScript)
    Replies: 9
    Last Post: 8th November 2005, 12:21 PM
  5. XSL transformation in PHP
    By robgallen in forum PHP
    Replies: 5
    Last Post: 13th October 2005, 09:17 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •