I am desperately looking for a library or snippet to convert a XML Node into a string representing the Node element.
I only find String > XML guides. I found the Spring Shell library XmlUtils
which had that functionality (in version v1.0.0.M1) but was broken due transient dependencies and therefore not possible to be used.
I also found Apache XMLUtils which have a similar functionality. Sadly the lib seems to be not maintained for more than 8 years or such. I am unsure to use it because of that.
EDIT: I found this one as the actual XMLUtils from Apache Axis2: https://mvnrepository.com/artifact/org.apache.axis2/axis2-kernel/1.7.9
But as I can see in the doc the wanted method has been removed (https://axis.apache.org/axis2/java/core/apidocs/org/apache/axis2/util/XMLUtils.html)
Did I missed something? Every Utils library I found has removed the functionality of converting an Element/Node into a String XML.
Am really in need of a good advice for the mentioned problem.