Sorry for the delay…
I’ve put the xml_encode into the template and it parses. Unortunately at the front end it gives a load of code instead of the email address I need to show.
All this is about a simple @ symbol :(
This is my XML template code..
<?xml version="1.0" encoding="utf-8"?>
<news>
{exp:weblog:entries weblog="news" orderby="date" sort="desc" limit="10" disable="comments|member_data|trackbacks"}
<comment title="{news_title}" news_copy="{if news_img}<a href="{news_img}qnEoPUaB4eX8C7olTZ5hU43otd5gaUHGtypography_img_src_endalign={news_img-align} ">{news_img}qnEoPUaB4eX8C7olTZ5hU43otd5gaUHGtypography_img_src_endalign={news_img-align} </a>{/if} {exp:xml_encode}{news_copy}{/exp:xml_encode}" news_link="{news_link}" news_date="{news_date}"></comment>
{/exp:weblog:entries}
{exp:weblog:entries weblog="news_panel" orderby="date" sort="desc" limit="10" disable="comments|member_data|trackbacks"}
{exp:xml_encode}<bodyTxt copy="{news_panel}"></bodyTxt>{/exp:xml_encode}
{/exp:weblog:entries}
</news>
Am I even doing this right?