RE: Displaying part of a string

Subject: RE: Displaying part of a string
From: "Spychalski, Frank" <frank.spychalski@xxxxxxx>
Date: Mon, 28 Aug 2000 23:11:47 +0200
->-----Original Message-----
->From: Brian Burridge [mailto:brian_burridge@xxxxxxxxxxxxx]
->Sent: Monday, August 28, 2000 1:12 PM
->To: xsl-list@xxxxxxxxxxxxxxxx
->Subject: Displaying part of a string
->
->
->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?
->

Hi,

you'll need the substring() function. have a look at the XPath String
Functions (http://www.w3.org/TR/xpath) for the docu.

bye
Frank
-
Frank Spychalski
Research Engineer
SAP Labs, Palo Alto           frank.spychalski@xxxxxxx 


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


Current Thread