xsl-list
[Top] [All Lists]

Re: Finding problems with getting substring from a string.

2005-07-18 01:33:25
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

there is already a substring-before function in XSLT:
http://zvon.org/xxl/XSLTreference/Output/function_substring-before.html

hth,
Wolfgang

Lakshmi narayana wrote:
Hi,
I am writing the substring function. But Some where I am going wrong.
I want a template which accepts the source string and key string as
parameters.
That template should select the string from the source which is befor the
key string.
eg.
Input paremeters
source string : OMLTree^123_UTI
Key String : ^

Output String : OMLTree

Can any one send the code for this template.

Thanks,
Laxmi Narayana


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC22lUqjaicDyx8o8RAlruAJ0XbDdFDkaJ2Z3Fmnz79DTw+j8EvACdFUiW
S7lsmGVN+nkF39QPzN3NpAY=
=MM/H
-----END PGP SIGNATURE-----

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>