How to remove empty nodes from an XML document srored in a STRING VARIABLE IN MEMORY
like
dim myxmlDataInMemory as string=
"<?xml version="1.0" encoding="utf-8" ?>
<Employee>
<em>
<id>1</id>
<name>Florian</name>
<phone>123</phone>
</em>
<em>
<id>2</id>
<name>Andreas</name>
<phone></phone>
</em>
</Employee>"
I tried like this:
Page Load
Dim XSL_REMOVE_EMPTY_NODES = "<?xml version=""1.0"" encoding=""UTF-8"" ?><xsl:stylesheet version=""1.0"" xmlns:xsl=""http://www.w3.org/1999/XSL/Transform""> <xsl:output omit-xml-declaration=""no"" indent=""no""/><xsl:strip-space elements=""*"" /><xsl:t ...
Go to the complete details ...