How to hide content/text included in the following HTML elements?

Hello all,

 

This is my first post in the community, hopefully you can help; and I promise I will come back again and again ...

I have 2 very resilient (and repetitive) HTML elements that I want excluded from wordcounts and SDLXLIFF files.

See the text to be excluded below for your reference, highlighted in red.

 

After playing the whole morning with the Parser for HTML file types in SDL Studio 2015 I did not manage to get the content as Not translatable.

Any ideas of what I should be doing that I don't? Any advice will be very welcome.

 

Thanks in advance,

Iago

1.

<body class="body">
<div>
<div class="diagnostic">
<div class="title1" id="X0000000015012174">
<p class="title1_title">
<!--title uses name instead of title-->title
</p>
<p class="title1_id">X0000000015012174</p>
</div>

 

2.

 

<ul>
<li>
<div class="para">Text to be translated.</div>
<div id="fig1" style="margin:auto; width:300px;" class="figure"><img src="A1454ZZ.gif" class="figure_img img_border"><div class="illusnum">X0000000015012174-01-A1454ZZ</div>
</div>
</li>
<li>
<div class="para">Text to be translated.</div>
</li>
</ul>

Parents Reply Children