Adding a string containing XML to a SOAPElement with Java
<p>I have to send data from an excel file as an XML to a webservice. The data in the table looks kinda like this:
<a href="https://i.stack.imgur.com/NEOTi.png" rel="nofollow">see example of table here!</a></p>

<p>The first row always contains the XML-tag for the data of the column. Most of the data columns only hold strings, but some have xml. Those child-nodes are important for the Webservice to accept the data. </p>

<p>I'm working with SOAP, creating a new SOAPElement for each column, where every row is a new SOAP request. </p>

<pre><code>SOAPElement newElement = body.addChildElement(tagForThisColumn);
newElement.addTextNode(stringValueOfCell);
</code></pre>

<p>This works perfectly for the string values, but the SOAPElement escapes all the "&lt;" and ">" of the cells with xml. </p>

<p>I already searched for an answer and found some solutions to similar problems, but none fit mine.. </p>