Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
[Fork] https://stackoverflow.com/questions/64315634/deserialize-object-with-xmlanyelementattribute by dbc_MinLength
Environment version: .NET 9.0.0 (9.0.0)


Input AnyXML: <testXML2 xmlns="urn:testXML2">anyContents0</testXML2>
Serialized ErrorDeclarationExtensionType:
<?xml version="1.0" encoding="utf-16"?>
<ErrorDeclarationExtensionType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <testXML2 xmlns="urn:testXML2">anyContents0</testXML2>
</ErrorDeclarationExtensionType>
Contents of Any:
<testXML2 xmlns="urn:testXML2">anyContents0</testXML2>

Input AnyXML: <testXML2>anyContents0</testXML2>
Serialized ErrorDeclarationExtensionType:
<?xml version="1.0" encoding="utf-16"?>
<ErrorDeclarationExtensionType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <testXML2>anyContents0</testXML2>
</ErrorDeclarationExtensionType>
Contents of Any:
<testXML2>anyContents0</testXML2>
Cached Result
Last Run: 5:48:09 am
Compile: 0.041s
Execute: 0.13s
Memory: 17.83Mb
CPU: 0.171s