[xsl] Replace character with line brake in long string

Subject: [xsl] Replace character with line brake in long string
From: jussi.puustinen@xxxxxxxxx
Date: Fri, 11 Oct 2002 15:52:34 +0300
I have an xml file including the following elements (string can be even longer):

      <attribute>
        <name>Ranges</name>
        <string>Amplifier IC|Analog Switch|Mixer IC|Modulator IC|Negative Voltage Regulator|Other Analog IC|Phase Locked Loop|Positive Voltage Regulator|Switching PSU Controller IC</string>
      </attribute>

What I would like to get with xsl is

	<tr>
	<td>
	Amplifier IC<br/>
	Analog Switch<br/>
	Mixer IC<br/>
	Modulator IC<br/>
	Negative Voltage Regulator<br/>
	Other Analog IC<br/>
	Phase Locked Loop<br/>
	Positive Voltage Regulator<br/>
	Switching PSU Controller IC<br/>
	</td>
	</tr>

I've tried averything, but I still havent managed to do this.

-Jussi-


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


Current Thread