Hi!
I'm doing a conversion between two software which both use XML so the actual conversion part is fairly straightforward - adding text here, removing others here, converting a few information. I'm using VBSCript WSH.
The only issue I'm still having is the darn
character - because it's considered an HTML Character, it's not detectable as a string, even though it's a string...
I've tried both strText = Replace(strText, " ", "")
and using a regex with Regex.pattern = " "
... neither works. I also tried replacing char(13)
, VBCR
... nothing seems to detect the actual string itself and not the character it's creating.
Code Snippet from incoming file:
<p>If necessary, [clip].</p>
<ul><li>
<p>In the <strong>Document </strong>properties dialog box, [clip].</p>
</li>
</ul></li>
<li>
<p>Click <strong>OK</strong>.</p>
</li>
</ol><p><span>To add or edit an advanced paper handling operation: </span></p>
<ol><li>
<p>To add an operation, [clip] </p></li></ol>