This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Q on datetime stamp


----- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]