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: "Chris Bayes" <Chris at Bayes dot co dot uk>
- Date: Thu, 18 Jan 2001 09:23:04 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
Walter,
Before the flamers jump down your throat for mentioning the dirty word
TR/WD-xsl
>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>
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list