This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Q on datetime stamp
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] Q on datetime stamp
- From: "Walter Torres" <walter at torres dot ws>
- Date: Thu, 18 Jan 2001 14:48:41 -0600
- References: <NABBLNLEFKJBBIBELMLOMEOKMDAA.Chris@Bayes.co.uk>
- Reply-To: xsl-list at lists dot mulberrytech dot com
----- Original Message -----
From: "Chris Bayes" <Chris@Bayes.co.uk>
To: <xsl-list@lists.mulberrytech.com>
Sent: Thursday, January 18, 2001 3:23 AM
Subject: RE: [xsl] Q on datetime stamp
> Walter,
> Before the flamers jump down your throat for mentioning the
> dirty word TR/WD-xsl
mmm, what quagmire have I stepped in here?
What "should" I be using?
Understand, I am very new to all this. I just found this list last week.
> >How can I tear apart this node?
> >
> > <timestamp>2001-01-17T02:30:24</timestamp>
>
> <xsl:template match="timestamp">
> <xsl:eval>this.substr(0, this.indexOf("T"))<xsl:eval><br/>
> <xsl:eval>this.substr(this.indexOf("T")+1)<xsl:eval>
> </xsl:template>
Thank you very much for the solution.
Thank you very much.
Walter
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list