xsl-list
[Top] [All Lists]

Replace character with line brake in long string

2002-10-11 05:52:34

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



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