Folks,

Is it possible to create macro to replace common HTML entities when editing XML
files?

(http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references)

&lt; --> <
&gt; --> >
&quot; --> "
&amp; --> &

Example of source text:
the &lt;b&gt;top 5 most critical business priorities&lt;/b&gt; that you will
personally be involved &lt;br&gt;in over the next 12 to 24 months.
&lt;p&gt;&lt;i&gt;These may or may not include those that you
supplied.&lt;/i&gt; ^f(&quot;hInstructions&quot;)[65].label()^
&lt;br&gt;&lt;br&gt; &lt;span class=&quot;instruction&quot;...

Expected transformation after running the macro:
the <b>top 5 most critical business priorities</b> that you will personally be
involved <b>in over the next 12 to 24 months. <p><i>These may or may not include
those that you supplied.</i> ^f(&quot;hInstructions&quot;)[65].label()^ <br><br>
<span class="instruction"...

Thanks.

-- 
<http://forum.pspad.com/read.php?2,63808,63808>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem