XML parse error: not well-formed (invalid token)

Hi There

I’m just trying to add some extra functionality into an old Intranet site we use at work. I basically want users to be able to add .swf (flash files) to web pages via DCT/ .tpl relationship, which is the language used by TEAMSITE (Interwoven).

The code I’m using in my .tpl is listed below, but when I generate the html page I get the following error:

Preview And Generate Error:
XML parse error:
not well-formed (invalid token) at line 133, column 17, byte 7618 at /web/soft/iw-home/iw-perl/vendor/lib/XML/Parser.pm line 187
:/default/main/intranet/asset_servicing/WORKAREA/asset_servicing/templatedata/intra_page/html/presentation/html.tpl

.tpl code

<iw_if expr=“iwpt_dcr_value(‘dcr.Secondary Navigation.Secondary Navigation Flash Image’) ne ‘’”>
<iw_then>
<!-- Secondary Navigation Image –>
<tr valign=“top”>

                    &lt;td&gt;&lt;OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" id="{iw_value name='$siteRoot'/}{iwpt_dcr_value('dcr.Secondary Navigation.Secondary Navigation Flash Image')}" ALIGN="left"&gt;
			&lt;PARAM NAME=movie VALUE="{iw_value name='$siteRoot'/}{iwpt_dcr_value('dcr.Secondary Navigation.Secondary Navigation Flash Image')}"&gt;
			&lt;PARAM NAME=quality VALUE=high&gt;
			&lt;PARAM NAME=bgcolor VALUE=#FFFFFF&gt;
			&lt;EMBED src="{iw_value name='$siteRoot'/}{iwpt_dcr_value('dcr.Secondary Navigation.Secondary Navigation Flash Image')}" quality=high  NAME="{iw_value name='$siteRoot'/}{iwpt_dcr_value('dcr.Secondary Navigation.Secondary Navigation Flash Image')}" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"&gt;&lt;/EMBED&gt;&lt;/OBJECT&gt;
			

		    &lt;/td&gt;




                  &lt;/tr&gt;
    	      &lt;tr valign="top"&gt;
                    &lt;td height="1"&gt;&lt;img src="{iw_value name='$siteRoot'/}/images/global_images/clear.gif" alt="*" height="1" border="0"/&gt;&lt;/td&gt;
                  &lt;/tr&gt;
    	    &lt;/iw_then&gt;
    &lt;/iw_if&gt;

I was just wondering if anyone had any ideas as to what I might be doing wrong here? Line 133 is

<PARAM NAME=movie VALUE=“{iw_value name=‘$siteRoot’/}{iwpt_dcr_value(‘dcr.Secondary Navigation.Secondary Navigation Flash Image’)}”>

, so I presume the issue lies here?

Any help or pointers would be greatly appreciated.

Many thanks in advance

have you tried adding the quotes to your XML attributes:

<PARAM NAME=“movie”

as far as I know, XML requires all attributes to be quoted.