This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Substituting characters in element attributes
- To: xsl-list at mulberrytech dot com
- Subject: Re: Substituting characters in element attributes
- From: Miloslav Nic <nicmila at idoox dot com>
- Date: Thu, 31 Aug 2000 10:55:23 +0200
- References: <39AE12D1.CDC6FCB4@leegoddard.com>
- Reply-To: xsl-list at mulberrytech dot com
I do not understand clearly what you want to achieve, but look at the
function: translate()
One example is available at:
http://www.zvon.org/xxl/XSLTreference/Output/index.html
Lee Goddard wrote:
>
> Is there a quick and easy way to
> substitute all occurrences of one character
> in an element attribute for another?
> Such as to replace all spaces with commas
> in the PATH attribute:
>
> <EQUATION A="eh" PATH="one 2 three" c="cee"/>
>
> Thanks in anticipation,
> lee
> --
> Lee Goddard <l.goddard@sussex>
> Research Centre for Cognitive Science,
> University of Sussex, Brighton UK
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
--
******************************************
<firstName> Miloslav </firstName>
<surname> Nic </surname>
<mail> nicmila@idoox.com </mail>
<support> http://www.zvon.org </support>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list