Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
[Fork] [Fork] questions/46415814/remove-namespace-attribute-from-xml-node-in-serialized-value by dbc_MinLength
Environment version: 4.0.30319.42000


Testing OutlineText with input Value "SUBSTA SF6 CIRCUIT BKR CONC FDN "C""

Serialized OutlineText:
<?xml version="1.0" encoding="utf-16"?>
<OutlTxt xmlns="http://www.mynamespace/09262017"><p style="text-align:left;margin-top:0pt;margin-bottom:0pt;"><span>SUBSTA SF6 CIRCUIT BKR CONC FDN &#x22;C&#x22;</span></p></OutlTxt>
Re-serialized OutlineText:
<?xml version="1.0" encoding="utf-16"?>
<OutlTxt xmlns="http://www.mynamespace/09262017"><p style="text-align:left;margin-top:0pt;margin-bottom:0pt;"><span>SUBSTA SF6 CIRCUIT BKR CONC FDN &#x22;C&#x22;</span></p></OutlTxt>

Testing OutlineText with input Value ""

Serialized OutlineText:
<?xml version="1.0" encoding="utf-16"?>
<OutlTxt xmlns="http://www.mynamespace/09262017"><p style="text-align:left;margin-top:0pt;margin-bottom:0pt;"><span></span></p></OutlTxt>
Re-serialized OutlineText:
<?xml version="1.0" encoding="utf-16"?>
<OutlTxt xmlns="http://www.mynamespace/09262017"><p style="text-align:left;margin-top:0pt;margin-bottom:0pt;"><span></span></p></OutlTxt>

Testing OutlineText with input Value "<"

Serialized OutlineText:
<?xml version="1.0" encoding="utf-16"?>
<OutlTxt xmlns="http://www.mynamespace/09262017"><p style="text-align:left;margin-top:0pt;margin-bottom:0pt;"><span>&#x3C;</span></p></OutlTxt>
Re-serialized OutlineText:
<?xml version="1.0" encoding="utf-16"?>
<OutlTxt xmlns="http://www.mynamespace/09262017"><p style="text-align:left;margin-top:0pt;margin-bottom:0pt;"><span>&#x3C;</span></p></OutlTxt>

Testing OutlineText with input Value ">"

Serialized OutlineText:
<?xml version="1.0" encoding="utf-16"?>
<OutlTxt xmlns="http://www.mynamespace/09262017"><p style="text-align:left;margin-top:0pt;margin-bottom:0pt;"><span>&#x3E;</span></p></OutlTxt>
Re-serialized OutlineText:
<?xml version="1.0" encoding="utf-16"?>
<OutlTxt xmlns="http://www.mynamespace/09262017"><p style="text-align:left;margin-top:0pt;margin-bottom:0pt;"><span>&#x3E;</span></p></OutlTxt>

Testing Container with input Value "SUBSTA SF6 CIRCUIT BKR CONC FDN "C""

Serialized OutlineText:
<?xml version="1.0" encoding="utf-16"?>
<Container xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.mynamespace/09262017">
  <Text>
    <OutlineText><p style="text-align:left;margin-top:0pt;margin-bottom:0pt;"><span>SUBSTA SF6 CIRCUIT BKR CONC FDN &#x22;C&#x22;</span></p></OutlineText>
  </Text>
  <ZZValue>zz value</ZZValue>
</Container>
Re-serialized Container:
<?xml version="1.0" encoding="utf-16"?>
<Container xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.mynamespace/09262017">
  <Text>
    <OutlineText><p style="text-align:left;margin-top:0pt;margin-bottom:0pt;"><span>SUBSTA SF6 CIRCUIT BKR CONC FDN &#x22;C&#x22;</span></p></OutlineText>
  </Text>
  <ZZValue>zz value</ZZValue>
</Container>

Done.
Cached Result
Last Run: 6:53:03 pm
Compile: 0.145s
Execute: 0.278s
Memory: 2.42Mb
CPU: 0.234s