Subject: Re: [xsl] Finding problems with getting substring from a string. From: "Werner, Wolfgang" <mail@xxxxxxxxxxxxxxxxxxx> Date: Mon, 18 Jul 2005 10:33:25 +0200 |
-----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 > > -----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-----
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Finding problems with get, andrew welch | Thread | [xsl]retrieve attribute from node A, Ranjan K. Baisak |
Re: [xsl] Finding problems with get, andrew welch | Date | [xsl] Outputing Differences between, Jonathan Marenus |
Month |