I'm analysing an XML exported from WordPress and need to hide text in within  and turn some text into tags. I have created a new file type, added the //* XPath rule (set as not translatable) and indicated which rules are translatable, which seems to have worked. At the embedded content (Legacy) stage, I have selected 'enable embedded content processing', added CDATA and then added tags. However, when opening the file in Editor, the text within  still displays, even though I have set this as a placeholder, and Trados does not seem to turn opening tags to actual tags in the editor, only the closing ones. Does anyone have any advice for how to fix this?
Thanks in advance!
Can you provide a snippet of the elements involved so we can see what you are really looking at?
Here is a snippet of the file in XML:
<title>XXXX</title> <link>XXXX</link> <pubDate>XXXX</pubDate> <dc:creator><![CDATA[suzannets]]></dc:creator> <guid isPermaLink="false">XXXX</guid> <description></description> <content:encoded><![CDATA[[mk_page_section bg_image="/wp-content/uploads/2016/06/background-template-3.jpg" attachment="fixed" bg_position="center bottom" bg_repeat="no-repeat" bg_stretch="true" enable_3d="true" speed_factor="0.8" video_loop="false" min_height="500" padding_top="0" padding_bottom="0" el_class="heroContainer" sidebar="sidebar-1"][vc_column][mk_padding_divider size="50" visibility="hidden-sm"][vc_row_inner][vc_column_inner][mk_fancy_title tag_name="h1" color="#6fbf4a" size="30" font_weight="bold" letter_spacing="1" margin_top="20" margin_bottom="0" font_family="none"]<h1><span style="color: #955aa5;">XXXX</span></h1>
I have altered my project settings since I last posted and believe that I've extracted everything I need but am not sure how to hide the text in square brackets.
Thanks for your help,
Perhaps this is where the problem lies... the CDATA code is incorrect. This:
Should be this:
I can't see the end as you didn't include it, but the correct syntax would be this:
<![CDATA[some stuff in here]]>