RE: Displaying part of a string

Subject: RE: Displaying part of a string
From: Matthew Bentley <Matthew.bentley@xxxxxxxxxxxxxx>
Date: Tue, 29 Aug 2000 09:17:48 +1200
> I would like to be able to display just a portion of a string. For
> example, the <date> element that I get back from the database is both
> date and time. I only want to display the first 10 digits of 
> the <date>
> element. I don't see an XSLT command for this. Any suggestions?

substring(., 1, 10)
Outputs the first ten characters from the 1st char in the text of the
current node -
Matt
******************************************************************
Warning: This email, including any attachments, 
is for the use of the intended recipient(s) only.
Republication and redissemination, 
including posting to news groups or web pages, 
is strictly prohibited without the express prior consent of Brooker's Limited.
******************************************************************


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread