RE: [xsl] Q on datetime stamp

Subject: RE: [xsl] Q on datetime stamp
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Date: Thu, 18 Jan 2001 09:23:04 -0000
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


Current Thread