Re: [xsl] Q on datetime stamp

Subject: Re: [xsl] Q on datetime stamp
From: "Walter Torres" <walter@xxxxxxxxx>
Date: Thu, 18 Jan 2001 14:48:41 -0600
----- Original Message ----- 
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
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


Current Thread