Hi,
I have an xml document that looks like this.
<?xml version="1.0"?>
<services>
<service sn="1" family="2 Week Wait">
<service_name>2 Week Wait Dermatology</service_name>
<speciality>2 Week Wait</speciality>
<clinic_types>2 Week Wait Skin</clinic_types>
<tag>Malignant neoplasm of skin , Pigmented skin lesion </tag>
</service>
I've managed to get everything how I want but for one last tweak I'd like to have the Comma Separated Values display as a unordered list.
I'm using this line of XSL to output the list,
<ul>
<li>
<xsl:value-of select="translate(tag,',','<![CDATA[</li><li>]]>')" disable-output-escaping="yes" />
</li>
<ul>
I'm getting an error saying that the resulting XML isn't formatted properly. I've tried to replace the replacement section with other stuff and it's worked. I've also tried using the HTML ASCII codes for the tags with no luck so I'm really confused with what I'm doing wrong.
Any help appreciated, Thanks