Cenk,

something along these lines should work:

<xsl:variable name="x">
        <xsl:value-of select="substring-before($par, ',')"/>
</xsl:variable>

I wrote it without testing it first, so, don't blame me for errors :)

Best regards,

P.S.
I really meant it: XSL/XPath is worth buying a book or two.

--------------------------------------------- 
               Luca Morandini 
               GIS Consultant 
              [EMAIL PROTECTED] 
http://utenti.tripod.it/lmorandini/index.html 
---------------------------------------------
 

> -----Original Message-----
> From: Cenk Uysal [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 07, 2002 4:31 PM
> To: [EMAIL PROTECTED]
> Subject: RE: param element
> 
> 
> I think my problem came to the point that "How can I run XPath
> functions in XSL?"
> 
> Sorry for this "out of topic" question...
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - your guide to health and wellness
> http://health.yahoo.com
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.html>

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

Reply via email to