Yes it can be:
e.g.
<xsl:param name="date"/>
...
<xsl:value-of select="substring-before($date,'/')"/>
...
-----Ursprüngliche Nachricht-----
Von: Scherler, Thorsten 
Gesendet: Donnerstag, 30. Januar 2003 16:06
An: Cocoon-Users (E-Mail)
Betreff: substring-before()


Hello group,

Function: string substring-before ( string, string ) Returns the string part preceding 
the first occurence of the second passed string inside the first passed string. The 
return value of substring-before('2000/3/22', '/') would be '2000'.

My question: 
can that first string be a param? 


> Mit freundlichem Gruss,
> 
> Thorsten Scherler
> Marketing / Telefonmarketing
> 
> Weidmüller GmbH & Co.
> P.O. Box 2807
> 33058 Paderborn
> Tel.:+ 49 - 5252-960-350
> Fax:+ 49 - 5252-960-116
> eMail: [EMAIL PROTECTED]
> http://www.weidmueller.de
> 
> 

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to