[xsl] Tags in text content

Subject: [xsl] Tags in text content
From: "rick@xxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 10 Apr 2024 22:53:04 -0000
HI All,



I have some xml where there are "tags" embedded in the text content. I need
to convert these into regular elements. I haven't done any coding yet, but I
want to see if there is a general approach that I should take before I get
started.



Here is a small example:



<?xml version="1.0" encoding="UTF-8"?>

<root>

    <p>&lt;em&gt;Business day&lt;/em&gt; means a calendar day.</p>

</root>



I need to end up with



<?xml version="1.0" encoding="UTF-8"?>

<root>

    <p><em>Business day</em> means a calendar day.</p>

</root>



Thank you.



Rick

Current Thread