[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: Substituting characters in element attributes


Subject: Re: Substituting characters in element attributes
From: Miloslav Nic <nicmila@xxxxxxxxx>
Date: Thu, 31 Aug 2000 10:55:23 +0200

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@xxxxxxxxx    </mail>   
<support> http://www.zvon.org  </support>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread