[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] date-time formatting question
Subject: RE: [xsl] date-time formatting question From: "Michael Kay" <mhk@xxxxxxxxx> Date: Tue, 3 Feb 2004 21:03:06 -0000 |
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: [xsl] 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] date-time formatting ques, Kenny Akridge | Thread | RE: Re: [xsl] date-time formatting , cknell |
RE: [xsl] date-time formatting ques, Kenny Akridge | Date | Re: [xsl] date-time formatting ques, Bruce D'Arcus |
Month |
Keywords