|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: date-time formatting question
One option may be to move forward to XSLT 2.0 which offers a format-date() function. Michael Kay > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of > Bruce D'Arcus > Sent: 03 February 2004 19:54 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: date-time formatting question > > > > I am trying to do something very simple, but I can't figure out how. > > Input example: > > <text> > <date>2003-03-15</date> > </text> > > Desired output: > > March 3, 2003 > > Another more complex example would be: > > (2003) .... Mar 3 > > (The sort of thing you'd see in a formatted bibliographic reference) > > I've gotten far enough to figure out that I probably need to > use exslt > dates-and-times templates, but the documentation is too thin > for me (a > non-expert) to understand how to apply. > > Help, please? > > Bruce > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > 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
|

Cart








