2 Live Test Event</title" /> <meta property="og:title" content="[Solved] XmlRoot attribute is needed to deserialize but in xml file there is no root attribute on c#,xml,deserialization,xmlroot" /> <meta property="og:type" content="article" /> <meta property="article:tag" name="article:tag" content="c#" /> <meta property="article:tag" name="article:tag" content="xml" /> <meta property="article:tag" name="article:tag" content="deserialization" /> <meta property="article:tag" name="article:tag" content="xmlroot" /> <meta property="og:url" content="https://www.techqa.club/v/q/xmlroot-attribute-is-needed-to-deserialize-but-in-xml-file-there-is-no-root-attribute-48465350" /> <meta property="og:description" content="I have a question: I have an .xml file <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <items> <item> <id>2</id> <title>Live Test Event</title" /> <meta property="og:site_name" content="TechQA" /> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://www.techqa.club/img/img_default.jpg" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:url" content="https://www.techqa.club/v/q/xmlroot-attribute-is-needed-to-deserialize-but-in-xml-file-there-is-no-root-attribute-48465350" /> <meta name="twitter:domain" content="TechQA.club" /> <meta name="twitter:title" content="[Solved] XmlRoot attribute is needed to deserialize but in xml file there is no root attribute on c#,xml,deserialization,xmlroot" /> <meta name="twitter:description" property="og:description" itemprop="description" content="I have a question: I have an .xml file <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <items> <item> <id>2</id> <title>Live Test Event</title"/> <meta property="article:published_time" content="2018-01-26T16:20:04.943000" /> <meta property="article:published_time" name="article:published_time" content="2018-01-26T16:20:04.943000" /> <meta property="article:modified_time" content="2025-12-21T19:10:20.318000" /> <meta property="article:modified_time" name="article:modified_time" content="2025-12-21T19:10:20.318000" /> <meta property="article:author:username" name="article:author:username" content="Oleg Kopot" /> <meta property="og:site_name" name="og:site_name" content="TechQA" /> <meta property="og:locale" name="og:locale" content="en_US" /> <meta name="revisit-after" content="3"> <meta name="webcrawlers" content="all"> <meta name="spiders" content="all"> <meta name='language' content='en'/> <meta name='geo.placename' content='United States'/> <meta name='robots' content='index, follow'/> <meta name='Googlebot-Image' content='follow, all'/> <meta name='rating' content='general'/> <meta name='audience' content='all'/> <link rel='dns-prefetch' href='//code.jquery.com' /> <link type="text/css" rel="stylesheet" href="https://www.techqa.club/css/github.css"> <link rel="canonical" href="https://www.techqa.club/v/q/xmlroot-attribute-is-needed-to-deserialize-but-in-xml-file-there-is-no-root-attribute-48465350" > <link rel="alternate" href="https://techqa.club" hreflang="en-US"/> <link rel="shortcut icon" href="https://www.techqa.club/img/favicon.png " type="image/x-icon"> <link rel='dns-prefetch' href='//ajax.googleapis.com' /> <link rel='dns-prefetch' href='//fonts.googleapis.com' /> <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900" rel="stylesheet" type="text/css"> <link type="text/css" rel="stylesheet" href="https://www.techqa.club/css/app.css"> <link href="/opensearch" rel="search" title="TechQA" type="application/opensearchdescription+xml"> <script async src="https://fundingchoicesmessages.google.com/i/pub-2199440138602787?ers=1" nonce="TtLptpgaqXOaBif-3n-EXw"></script><script nonce="TtLptpgaqXOaBif-3n-EXw">(function() {function signalGooglefcPresent() {if (!window.frames['googlefcPresent']) {if (document.body) {const iframe = document.createElement('iframe'); iframe.style = 'width: 0; height: 0; border: none; z-index: -1000; left: -1000px; top: -1000px;'; iframe.style.display = 'none'; iframe.name = 'googlefcPresent'; document.body.appendChild(iframe);} else {setTimeout(signalGooglefcPresent, 0);}}}signalGooglefcPresent();})();</script> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script> (adsbygoogle = window.adsbygoogle || []).push({ google_ad_client: "ca-pub-2199440138602787", enable_page_level_ads: true }); </script> <!-- Global site tag (gtag.js) - Google Analytics Dikamian--> <script async src="https://www.googletagmanager.com/gtag/js?id=G-F469FFWQH9"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-F469FFWQH9'); </script> </head> <body class=""> <header class="main-header"> <div class="container"> <div class="row no-gutters"> <div class="col-6"> <a href="/"> <h1>TechQA.</h1> </a> </div> <div class="col-6"> <div class="searchMod"> <form id="searchForm" action="/sr" method="POST"> <div class="searchBox01" id="searchBox01"> <input type="text" id="searchKeyword" name="keyword" placeholder="Search question..." value="" maxlength="100" class="form-control" autocomplete="off"> </div> <input type="hidden" name="_token" value="36KqIbzucCb29lazM0ZI8KjCHkpayXoxsB7VCHgr" autocomplete="off"> </form> </div> </div> </div> </div> </header> <section class="content"> <div class="container"> <div class="row"> <div class="ikanAtas"> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:inline-block;width:970px;height:250px" data-ad-client="ca-pub-2199440138602787" data-ad-slot="2207584572"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> <div class="col-md-8" itemscope="itemscope" itemtype="http://schema.org/QAPage"> <div class="wrapperLayout" itemprop="mainEntity" itemscope="" itemtype="http://schema.org/Question"> <link itemprop="image" href="https://www.techqa.club/img/logo-default.png"> <div class="box question"> <div class="box-header with-border"> <h1 itemprop="name"> <a href=""> XmlRoot attribute is needed to deserialize but in xml file there is no root attribute </a> </h1> <span class="text-muted text-date"> <span class="views">404 views</span> Asked by <span itemprop="author" itemscope itemtype="http://schema.org/Person"> <span itemprop="name"> <strong>Oleg Kopot</strong> </span> </span> At <time class="d-none" datetime="2018-01-26T16:20:04+00:00" itemprop="datePublished" title="2018-01-26T16:20:04+00:00"> 2018-01-26T16:20:04+00:00 </time> <time datetime="2018-01-26T16:20:04.943000" title="2018-01-26T16:20:04+00:00"> 26 January 2018 at 16:20 </time> <time class="d-none" itemprop="dateModified" title="2025-12-21T19:10:20+00:00"> 2025-12-21T19:10:20+00:00 </time> </span> </div> <div class="box-body"> <div itemprop="text" class="post-text"> <p>I have a question: I have an <code>.xml</code> file</p> <pre><code><?xml version="1.0" encoding="UTF-8" standalone="yes"?> <items> <item> <id>2</id> <title>Live Test Event</title> <tournament> <id>6</id> <name>Test tournament</name> <property> <id>4</id> <name>Test property</name> <sport> <id>3</id> <name>Test Sport</name> </sport> </property> </tournament> <updatedAt>2018-01-22T11:11:44+0000</updatedAt> <startDate>2017-01-01T00:00:00+0000</startDate> <endDate>2018-12-31T00:00:00+0000</endDate> </item> ... </items> </code></pre> <p>Also I have a class:</p> <pre><code>public class StreamingEvents { [XmlArray("items")] [XmlArrayItem("item")] public List<Event> Events { get; set; } } </code></pre> <p>And to deserialize this file I need to put an XmlRoot attribute before class declaration. But the problem is that I don't have the root attribute in my .xml. I have only an array "items". And I need to use XmlRoot attr to deserialize without errors. Could anybody help me?</p> </div> <div class="tagcloud"> <a href="https://www.techqa.club/q/t/c#"> <span>c#</span> </a> <a href="https://www.techqa.club/q/t/xml"> <span>xml</span> </a> <a href="https://www.techqa.club/q/t/deserialization"> <span>deserialization</span> </a> <a href="https://www.techqa.club/q/t/xmlroot"> <span>xmlroot</span> </a> </div> </div> <div class="box-footer"> <span class="source"> <a href="https://stackoverflow.com/questions/48465350/xmlroot-attribute-is-needed-to-deserialize-but-in-xml-file-there-is-no-root-attribute" target="_blank" rel="nofollow"> Original Q&A </a> </span> </div> </div> <div class="ikanPalsu"> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- Econ_respon --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-2199440138602787" data-ad-slot="9990002217" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> <div class="counter-header my-3"> <span class="d-none" itemprop="answerCount">3</span> <h2>There are 3 answers</h2> </div> <div class="box answerQuestion"> <div id="wajab" class="box"> <div class="box"> <div class="post answerId-66a39459a06677a8f2ea8ca5 accepted" id="answer-66a39459a06677a8f2ea8ca5" class="box" data-answerid="66a39459a06677a8f2ea8ca5" itemprop="acceptedAnswer" itemscope="" itemtype="http://schema.org/Answer"> <a class="d-none" itemprop="url" href="#answer-66a39459a06677a8f2ea8ca5"></a> <div class="vote-count d-none" itemprop="upvoteCount" data-value="1">1</div> <div class="box-header"> <span class="username"> <img src="/img/user-default.png" onerror="this.src='/img/user-default.png';" class="answerAva" alt="Cinchoo" > <span itemprop="author" itemscope="" itemtype="http://schema.org/Person"> <span itemprop="name" class="author-name"> <strong>Cinchoo</strong> </span> </span> <span title="2018-01-26T16:55:53.483000" class="dater d-none d-md-inline-block"> On <time class="d-none" itemprop="datePublished" title="2018-01-26T16:55:53+00:00" datetime="2018-01-26T16:55:53+00:00"> 2018-01-26T16:55:53+00:00 </time> <time title="2018-01-26T16:55:53.483000" datetime="2018-01-26T16:55:53.483000"> 26 January 2018 at 16:55 </time> </span> <span class="badge badge-danger"> BEST ANSWER </span> </span> </div> <div class="box-comment box-body"> <div class="comment-text"> <div class="" itemprop="text"> <p>I believe <code><items></code> is the root of the xml. In that case, your class should be as below in order to deseralize your xml successfully</p> <pre><code>[XmlRoot("items")] public class StreamingEvents { [XmlElement("item")] public List<Event> Events { get; set; } } </code></pre> </div> </div> </div> </div> <div class="AnswerWrapper" id="answer-66a39459a06677a8f2ea8ca5" data-answerid="66a39459a06677a8f2ea8ca5" itemprop="suggestedAnswer" itemscope="" itemtype="http://schema.org/Answer"> <div class="post answerId-66a39459a06677a8f2ea8ca5"> <a class="d-none" itemprop="url" href="#answer-66a39459a06677a8f2ea8ca5"></a> <div class="vote-count d-none" itemprop="upvoteCount" data-value="0">0</div> <div class="box-header"> <span class="username"> <img src="/img/user-default.png" onerror="this.src='/img/user-default.png';" class="answerAva" alt="KHL"> <span itemprop="author" itemscope="" itemtype="http://schema.org/Person"> <span itemprop="name" class="author-name"> <strong>KHL</strong> </span> </span> <span title="2018-01-26T16:31:40.890000" class="dater d-none d-md-inline-block"> On <time class="d-none" itemprop="datePublished" title="2018-01-26T16:31:40+00:00" datetime="2018-01-26T16:31:40+00:00"> 2018-01-26T16:31:40+00:00 </time> <time title="2018-01-26T16:31:40.890000" datetime="2018-01-26T16:31:40.890000"> 26 January 2018 at 16:31 </time> </span> </span> </div> <div class="box-comment box-body"> <div class="comment-text"> <div class="" itemprop="text"> <p>XML without a root node is technically not XML. It's a requirement, you have to add it even manually</p> </div> </div> </div> </div> </div> <div class="AnswerWrapper" id="answer-66a39459a06677a8f2ea8ca5" data-answerid="66a39459a06677a8f2ea8ca5" itemprop="suggestedAnswer" itemscope="" itemtype="http://schema.org/Answer"> <div class="post answerId-66a39459a06677a8f2ea8ca5"> <a class="d-none" itemprop="url" href="#answer-66a39459a06677a8f2ea8ca5"></a> <div class="vote-count d-none" itemprop="upvoteCount" data-value="0">0</div> <div class="box-header"> <span class="username"> <img src="/img/user-default.png" onerror="this.src='/img/user-default.png';" class="answerAva" alt="jdweng"> <span itemprop="author" itemscope="" itemtype="http://schema.org/Person"> <span itemprop="name" class="author-name"> <strong>jdweng</strong> </span> </span> <span title="2018-01-26T17:41:20.890000" class="dater d-none d-md-inline-block"> On <time class="d-none" itemprop="datePublished" title="2018-01-26T17:41:20+00:00" datetime="2018-01-26T17:41:20+00:00"> 2018-01-26T17:41:20+00:00 </time> <time title="2018-01-26T17:41:20.890000" datetime="2018-01-26T17:41:20.890000"> 26 January 2018 at 17:41 </time> </span> </span> </div> <div class="box-comment box-body"> <div class="comment-text"> <div class="" itemprop="text"> <p>Don't use XmlArray in this case. Use Two separate classes for Items and Item</p> <pre><code>using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Globalization; using System.Xml; using System.Xml.Serialization; namespace Oppgave3Lesson1 { class Program { const string FILENAME = @"c:\temp\test.xml"; static void Main(string[] args) { XmlReader reader = XmlReader.Create(FILENAME); XmlSerializer serializer = new XmlSerializer(typeof(StreamingEvents)); StreamingEvents events = (StreamingEvents) serializer.Deserialize(reader); } } [XmlRoot("items")] public class StreamingEvents { [XmlElement("item")] public List<Event> Events { get; set; } } public class Event { IFormatProvider provider = CultureInfo.InvariantCulture; public int id { get; set; } public string title { get; set; } private DateTime _updatedAt { get; set; } public string updatedAt { get { return _updatedAt.ToString(); } set { _updatedAt = DateTime.ParseExact(value, "yyyy-MM-ddTHH:mm:ss+ffff", provider); } } private DateTime _startDate { get; set; } public string startDate { get { return _startDate.ToString(); } set { _startDate = DateTime.ParseExact(value, "yyyy-MM-ddTHH:mm:ss+ffff", provider); } } private DateTime _endDate { get; set; } public string endDate { get { return _endDate.ToString(); } set { _endDate = DateTime.ParseExact(value, "yyyy-MM-ddTHH:mm:ss+ffff", provider); } } public Tournament tournament { get; set; } } public class Tournament { public int id { get; set; } public string name { get; set; } public Property property { get; set; } } public class Property { public int id { get; set; } public string name { get; set; } public Sport sport { get; set; } } public class Sport { public int id { get; set; } public string name { get; set; } } } </code></pre> </div> </div> </div> </div> </div> </div> </div> </div> </div> <div class="widget bottom-rel"> <div class="widget-title"> <h3>Related Questions in <strong>C#</strong></h3> </div> <ul id="relatedBottom" class="relatedPost postbottom"> <li> <a href='https://www.techqa.club/v/q/how-to-call-a-c-language-function-from-x86-assembly-code-78252856'> How to call a C language function from x86 assembly code? </a> </li> <li> <a href='https://www.techqa.club/v/q/what-does-char-argv-mean-78252840'> What does: "char *argv[]" mean? </a> </li> <li> <a href='https://www.techqa.club/v/q/user-input-sanitization-program-which-takes-a-specific-amount-of-arguments-and-passes-the-execution-to-a-bash-script-78252794'> User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script </a> </li> <li> <a href='https://www.techqa.club/v/q/how-to-crop-a-bmp-image-in-half-using-c-78252647'> How to crop a BMP image in half using C </a> </li> <li> <a href='https://www.techqa.club/v/q/how-can-i-get-the-difference-in-minutes-between-two-dates-and-hours-78252503'> How can I get the difference in minutes between two dates and hours? </a> </li> <li> <a href='https://www.techqa.club/v/q/why-will-this-code-compile-although-it-defines-two-variables-with-the-same-name-78252314'> Why will this code compile although it defines two variables with the same name? </a> </li> <li> <a href='https://www.techqa.club/v/q/compiling-ebpf-program-in-docker-fails-due-to-missing-u64-type-78252304'> Compiling eBPF program in Docker fails due to missing '__u64' type </a> </li> <li> <a href='https://www.techqa.club/v/q/why-can-t-i-use-the-file-pointer-after-the-first-read-attempt-fails-78252272'> Why can't I use the file pointer after the first read attempt fails? </a> </li> <li> <a href='https://www.techqa.club/v/q/include-header-files-in-c-with-definition-too-78251943'> #include Header files in C with definition too </a> </li> <li> <a href='https://www.techqa.club/v/q/opencv2-on-clion-78251906'> OpenCV2 on CLion </a> </li> <li> <a href='https://www.techqa.club/v/q/what-is-causing-the-store-latency-in-this-program-78251852'> What is causing the store latency in this program? </a> </li> <li> <a href='https://www.techqa.club/v/q/how-to-refer-to-the-filepath-of-test-data-in-test-sourcecode-78251766'> How to refer to the filepath of test data in test sourcecode? </a> </li> <li> <a href='https://www.techqa.club/v/q/9-digit-addresses-in-hexadecimal-system-in-macos-78251673'> 9 Digit Addresses in Hexadecimal System in MacOS </a> </li> <li> <a href='https://www.techqa.club/v/q/my-server-tcp-doesn-t-receive-messages-from-the-client-in-c-78251496'> My server TCP doesn't receive messages from the client in C </a> </li> <li> <a href='https://www.techqa.club/v/q/printing-the-characters-obtained-from-the-array-s-using-printf-78251359'> Printing the characters obtained from the array s using printf? </a> </li> </ul> </div> <div class="widget bottom-rel"> <div class="widget-title"> <h3>Related Questions in <strong>XML</strong></h3> </div> <ul id="relatedBottom" class="relatedPost postbottom"> <li> <a href='https://www.techqa.club/v/q/postgres-statement-error-in-mybatis-mapper-78252756'> Postgres && statement Error in Mybatis Mapper? </a> </li> <li> <a href='https://www.techqa.club/v/q/sorting-items-after-building-an-xml-feed-78252559'> Sorting items after building an XML feed? </a> </li> <li> <a href='https://www.techqa.club/v/q/c-xml-modelbinding-asp-net-core-8-web-api-required-field-not-found-78252500'> C# XML ModelBinding - ASP.NET Core 8 Web API - required field not found </a> </li> <li> <a href='https://www.techqa.club/v/q/how-can-i-create-an-automatic-table-of-contents-in-docx-without-the-text-being-bold-78251927'> How can I create an automatic table of contents in docx without the text being bold? </a> </li> <li> <a href='https://www.techqa.club/v/q/odoo-16-make-fields-readonly-using-xpath-78251324'> Odoo 16 Make Fields Readonly Using XPath </a> </li> <li> <a href='https://www.techqa.club/v/q/using-similar-tags-for-different-objects-in-xml-78250690'> Using similar tags for different objects in XML </a> </li> <li> <a href='https://www.techqa.club/v/q/android-studio-problem-like-gradle-sync-project-failed-and-plugin-error-version-2023-2-1-iguana-78250262'> Android Studio problem like gradle sync project failed and plugin error, version 2023.2.1 Iguana </a> </li> <li> <a href='https://www.techqa.club/v/q/error-cannot-find-symbol-view-root-inflater-inflate-r-layout-toolbar-parent-false-78248124'> error: cannot find symbol View root = inflater.inflate(R.layout.toolbar, parent, false); </a> </li> <li> <a href='https://www.techqa.club/v/q/android-camera-application-restriction-to-12-mp-78245854'> Android camera application restriction to 12 mp </a> </li> <li> <a href='https://www.techqa.club/v/q/azure-data-factory-copy-activity-only-importing-first-row-of-xml-file-78245541'> Azure Data Factory Copy Activity Only Importing First Row of XML file </a> </li> <li> <a href='https://www.techqa.club/v/q/i-am-not-able-to-remove-space-below-the-navigation-view-icon-in-android-studio-what-s-wrong-with-code-78244413'> I am not able to remove space below the navigation view icon in android studio. What;s wrong with code? </a> </li> <li> <a href='https://www.techqa.club/v/q/field-can-be-converted-to-a-local-variable-convert-field-to-local-variable-in-oncreate-method-78243884'> Field can be converted to a local variable ,convert field to local variable in onCreate method </a> </li> <li> <a href='https://www.techqa.club/v/q/deserialize-xml-with-optional-different-name-78243120'> Deserialize XML with optional different name </a> </li> <li> <a href='https://www.techqa.club/v/q/retrieve-tags-from-xml-using-python-78242981'> Retrieve tags from xml using python </a> </li> <li> <a href='https://www.techqa.club/v/q/getting-attribute-from-xml-and-printing-it-error-78240405'> Getting attribute from xml and printing it error </a> </li> </ul> </div> <div class="widget bottom-rel"> <div class="widget-title"> <h3>Related Questions in <strong>DESERIALIZATION</strong></h3> </div> <ul id="relatedBottom" class="relatedPost postbottom"> <li> <a href='https://www.techqa.club/v/q/deserialize-xml-with-optional-different-name-78243120'> Deserialize XML with optional different name </a> </li> <li> <a href='https://www.techqa.club/v/q/how-to-make-aiogram-message-from-telethon-message-78217419'> how to make aiogram.Message from telethon.Message </a> </li> <li> <a href='https://www.techqa.club/v/q/jsonconvert-deserializeobject-with-different-property-types-needs-to-continue-even-after-failing-but-collect-the-list-of-errors-78206462'> JsonConvert.DeserializeObject with different property types needs to continue even after failing but collect the list of errors </a> </li> <li> <a href='https://www.techqa.club/v/q/webapi-don-t-deserialize-json-but-same-payload-works-in-swagger-78202799'> WebAPI don't deserialize JSON but same payload works in Swagger </a> </li> <li> <a href='https://www.techqa.club/v/q/using-symfony-serializer-groups-didnt-work-as-well-78192420'> using symfony serializer groups didnt' work as well </a> </li> <li> <a href='https://www.techqa.club/v/q/how-to-use-jsonview-annotation-for-nested-object-dtos-78181343'> How to Use @JsonView Annotation for nested Object ( DTOs) </a> </li> <li> <a href='https://www.techqa.club/v/q/deserialize-a-field-into-2-fields-78180964'> Deserialize a field into 2 fields </a> </li> <li> <a href='https://www.techqa.club/v/q/how-i-deserialize-avro-from-kafka-with-spring-boot-2-7-18-78176139'> How I deserialize Avro from Kafka with spring boot 2.7.18 </a> </li> <li> <a href='https://www.techqa.club/v/q/can-asp-net-core-deserialization-set-null-in-property-if-all-children-properties-are-nulls-78172857'> Can ASP.NET Core deserialization set null in property if all children properties are nulls? </a> </li> <li> <a href='https://www.techqa.club/v/q/how-to-fetch-data-when-package-structure-deleted-in-source-but-in-couchbase-document-class-with-old-package-structure-is-present-78164390'> how to fetch data when package structure deleted in source, but in couchbase document, _class with old package structure is present </a> </li> <li> <a href='https://www.techqa.club/v/q/java-parse-enum-from-api-by-text-description-78161099'> Java - Parse enum from api by text description </a> </li> <li> <a href='https://www.techqa.club/v/q/how-to-deserialize-json-to-c-class-with-arbitrary-number-of-values-and-attributes-78161051'> How to deserialize json to C# class with arbitrary number of values and attributes </a> </li> <li> <a href='https://www.techqa.club/v/q/c-map-json-serialization-and-deserialization-to-reference-object-using-object-property-78150419'> C# Map JSON Serialization and Deserialization to Reference Object Using Object Property </a> </li> <li> <a href='https://www.techqa.club/v/q/multithreaded-deserialization-using-binaryformatter-78140075'> Multithreaded deserialization using BinaryFormatter </a> </li> <li> <a href='https://www.techqa.club/v/q/disable-deserializationfeature-fail-on-null-creator-properties-for-an-endpoint-78132134'> Disable DeserializationFeature.FAIL_ON_NULL_CREATOR_PROPERTIES for an endpoint </a> </li> </ul> </div> <div class="widget bottom-rel"> <div class="widget-title"> <h3>Related Questions in <strong>XMLROOT</strong></h3> </div> <ul id="relatedBottom" class="relatedPost postbottom"> <li> <a href='https://www.techqa.club/v/q/how-to-add-a-root-to-an-xml-file-67774890'> How to add a root to an XML file? </a> </li> <li> <a href='https://www.techqa.club/v/q/xmlelement-shows-up-as-lowercase-in-soap-67431504'> XmlElement shows up as lowercase in SOAP </a> </li> <li> <a href='https://www.techqa.club/v/q/how-do-i-add-a-class-inside-the-xml-root-in-an-existing-xml-file-65109564'> How do I add a class inside the XML root, in an existing XML file? </a> </li> <li> <a href='https://www.techqa.club/v/q/one-pojo-but-the-different-xmlrootelement-name-60991205'> One POJO but the different XmlRootElement name </a> </li> <li> <a href='https://www.techqa.club/v/q/i-have-xmlrootelement-but-keep-getting-this-exception-unable-to-marshal-type-as-an-element-because-it-is-missing-an-xmlrootelement-54466199'> I have @xmlrootelement , but keep getting this exception: unable to marshal type as an element because it is missing an @XmlRootElement </a> </li> <li> <a href='https://www.techqa.club/v/q/jaxb-dynamic-xml-root-class-name-53702452'> JAXB dynamic XML root class name </a> </li> <li> <a href='https://www.techqa.club/v/q/replace-arrayof-root-element-using-api-controller-in-visual-studio-c-52591998'> Replace ArrayOf* Root Element using API Controller in Visual Studio C# </a> </li> <li> <a href='https://www.techqa.club/v/q/xmlroot-attribute-is-needed-to-deserialize-but-in-xml-file-there-is-no-root-attribute-48465350'> XmlRoot attribute is needed to deserialize but in xml file there is no root attribute </a> </li> <li> <a href='https://www.techqa.club/v/q/adding-a-root-xml-element-before-another-root-c-42981019'> Adding a root xml element before another root C# </a> </li> <li> <a href='https://www.techqa.club/v/q/serialize-xml-without-tag-name-42646142'> Serialize XML without tag name </a> </li> <li> <a href='https://www.techqa.club/v/q/error-in-marshalling-missing-xmlrootelement-annotation-error-40059414'> error in marshalling - missing xmlrootelement annotation error </a> </li> <li> <a href='https://www.techqa.club/v/q/how-to-consume-xml-with-more-than-one-possible-root-element-in-spring-rest-client-39128452'> How to consume XML with more than one possible root element in Spring REST client </a> </li> <li> <a href='https://www.techqa.club/v/q/nested-for-xml-results-with-sql-server-33210983'> Nested FOR XML results with SQL Server </a> </li> <li> <a href='https://www.techqa.club/v/q/web-scraping-with-r-error-32462919'> Web scraping with R error </a> </li> <li> <a href='https://www.techqa.club/v/q/jaxb-marshall-unmarshall-31637729'> JAXB Marshall/unmarshall </a> </li> </ul> </div> <div class="ikanPalsu"> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- Econ_respon --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-2199440138602787" data-ad-slot="9990002217" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> </div> <div class="col-md-4"> <div class="sampingIkan"> <script type="text/javascript"> atOptions = { 'key' : '2e0d99b51effa0c5bfdb2929ca02a4c8', 'format' : 'iframe', 'height' : 250, 'width' : 300, 'params' : {} }; document.write('<scr' + 'ipt type="text/javascript" src="http' + (location.protocol === 'https:' ? 's' : '') + '://padsims.com/2e0d99b51effa0c5bfdb2929ca02a4c8/invoke.js"></scr' + 'ipt>'); </script> </div> <div class="widget"> <div class="widget-title"> <h4>Popular Questions</h4> </div> <ul class="relatedPost"> <li> <a href='https://www.techqa.club/v/q/how-do-i-undo-the-most-recent-local-commits-in-git-927358' title="How do I undo the most recent local commits in Git?"> How do I undo the most recent local commits in Git? </a> </li> <li> <a href='https://www.techqa.club/v/q/how-can-i-remove-a-specific-item-from-an-array-in-javascript-5767325' title="How can I remove a specific item from an array in JavaScript?"> How can I remove a specific item from an array in JavaScript? </a> </li> <li> <a href='https://www.techqa.club/v/q/how-do-i-delete-a-git-branch-locally-and-remotely-2003505' title="How do I delete a Git branch locally and remotely?"> How do I delete a Git branch locally and remotely? </a> </li> <li> <a href='https://www.techqa.club/v/q/find-all-files-containing-a-specific-text-string-on-linux-16956810' title="Find all files containing a specific text (string) on Linux?"> Find all files containing a specific text (string) on Linux? </a> </li> <li> <a href='https://www.techqa.club/v/q/how-do-i-revert-a-git-repository-to-a-previous-commit-4114095' title="How do I revert a Git repository to a previous commit?"> How do I revert a Git repository to a previous commit? </a> </li> <li> <a href='https://www.techqa.club/v/q/how-do-i-create-an-html-button-that-acts-like-a-link-2906582' title="How do I create an HTML button that acts like a link?"> How do I create an HTML button that acts like a link? </a> </li> <li> <a href='https://www.techqa.club/v/q/how-do-i-check-out-a-remote-git-branch-1783405' title="How do I check out a remote Git branch?"> How do I check out a remote Git branch? </a> </li> <li> <a href='https://www.techqa.club/v/q/how-do-i-force-git-pull-to-overwrite-local-files-1125968' title="How do I force "git pull" to overwrite local files?"> How do I force "git pull" to overwrite local files? </a> </li> <li> <a href='https://www.techqa.club/v/q/how-do-i-list-all-files-of-a-directory-3207219' title="How do I list all files of a directory?"> How do I list all files of a directory? </a> </li> <li> <a href='https://www.techqa.club/v/q/how-to-check-whether-a-string-contains-a-substring-in-javascript-1789945' title="How to check whether a string contains a substring in JavaScript?"> How to check whether a string contains a substring in JavaScript? </a> </li> <li> <a href='https://www.techqa.club/v/q/how-do-i-redirect-to-another-webpage-503093' title="How do I redirect to another webpage?"> How do I redirect to another webpage? </a> </li> <li> <a href='https://www.techqa.club/v/q/how-can-i-iterate-over-rows-in-a-pandas-dataframe-16476924' title="How can I iterate over rows in a Pandas DataFrame?"> How can I iterate over rows in a Pandas DataFrame? </a> </li> <li> <a href='https://www.techqa.club/v/q/how-do-i-convert-a-string-to-an-int-in-java-5585779' title="How do I convert a String to an int in Java?"> How do I convert a String to an int in Java? </a> </li> <li> <a href='https://www.techqa.club/v/q/does-python-have-a-string-contains-substring-method-3437059' title="Does Python have a string 'contains' substring method?"> Does Python have a string 'contains' substring method? </a> </li> <li> <a href='https://www.techqa.club/v/q/how-do-i-check-if-a-string-contains-a-specific-word-4366730' title="How do I check if a string contains a specific word?"> How do I check if a string contains a specific word? </a> </li> </ul> </div><div class="widget"> <div class="widget-title"> <h4>Popular Tags</h4> </div> <div class="tagcloud sidebare"> <a href="/q/t/javascript"> <span>javascript</span> </a> <a href="/q/t/python"> <span>python</span> </a> <a href="/q/t/java"> <span>java</span> </a> <a href="/q/t/c#"> <span>c#</span> </a> <a href="/q/t/php"> <span>php</span> </a> <a href="/q/t/android"> <span>android</span> </a> <a href="/q/t/html"> <span>html</span> </a> <a href="/q/t/jquery"> <span>jquery</span> </a> <a href="/q/t/c++"> <span>c++</span> </a> <a href="/q/t/css"> <span>css</span> </a> <a href="/q/t/ios"> <span>ios</span> </a> <a href="/q/t/sql"> <span>sql</span> </a> <a href="/q/t/mysql"> <span>mysql</span> </a> <a href="/q/t/r"> <span>r</span> </a> <a href="/q/t/reactjs"> <span>reactjs</span> </a> <a href="/q/t/node.js"> <span>node.js</span> </a> <a href="/q/t/arrays"> <span>arrays</span> </a> <a href="/q/t/c"> <span>c</span> </a> <a href="/q/t/asp.net"> <span>asp.net</span> </a> <a href="/q/t/json"> <span>json</span> </a> </div> </div> <div class="widget"> <div class="widget-title"> <h4>Trending Questions</h4> </div> <ul class="relatedPost"> <li> <a href='https://www.techqa.club/v/q/uiimageview-frame-doesn-t-reflect-constraints-32240629' title="UIImageView Frame Doesn't Reflect Constraints"> UIImageView Frame Doesn't Reflect Constraints </a> </li> <li> <a href='https://www.techqa.club/v/q/is-it-possible-to-use-adb-commands-to-click-on-a-view-by-finding-its-id-39315028' title="Is it possible to use adb commands to click on a view by finding its ID?"> Is it possible to use adb commands to click on a view by finding its ID? </a> </li> <li> <a href='https://www.techqa.club/v/q/how-to-create-a-new-web-character-symbol-recognizable-by-html-javascript-11059803' title="How to create a new web character symbol recognizable by html/javascript?"> How to create a new web character symbol recognizable by html/javascript? </a> </li> <li> <a href='https://www.techqa.club/v/q/why-isn-t-my-css3-animation-smooth-in-google-chrome-but-very-smooth-on-other-browsers-37629745' title="Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?"> Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)? </a> </li> <li> <a href='https://www.techqa.club/v/q/heap-gives-page-fault-39109581' title="Heap Gives Page Fault"> Heap Gives Page Fault </a> </li> <li> <a href='https://www.techqa.club/v/q/connect-ffmpeg-to-visual-studio-2008-17218902' title="Connect ffmpeg to Visual Studio 2008"> Connect ffmpeg to Visual Studio 2008 </a> </li> <li> <a href='https://www.techqa.club/v/q/both-object-and-valueanimator-jumps-when-duration-is-set-above-api-lvl-24-46991118' title="Both Object- and ValueAnimator jumps when Duration is set above API LvL 24"> Both Object- and ValueAnimator jumps when Duration is set above API LvL 24 </a> </li> <li> <a href='https://www.techqa.club/v/q/how-to-avoid-default-initialization-of-objects-in-std-vector-78203063' title="How to avoid default initialization of objects in std::vector?"> How to avoid default initialization of objects in std::vector? </a> </li> <li> <a href='https://www.techqa.club/v/q/second-argument-of-the-command-line-arguments-in-a-format-other-than-char-argv-or-char-argv-60047957' title="second argument of the command line arguments in a format other than char** argv or char* argv[]"> second argument of the command line arguments in a format other than char** argv or char* argv[] </a> </li> <li> <a href='https://www.techqa.club/v/q/how-to-improve-efficiency-of-algorithm-which-generates-next-lexicographic-permutation-43290467' title="How to improve efficiency of algorithm which generates next lexicographic permutation?"> How to improve efficiency of algorithm which generates next lexicographic permutation? </a> </li> <li> <a href='https://www.techqa.club/v/q/navigating-to-the-another-actvity-app-getting-crash-in-android-44773528' title="Navigating to the another actvity app getting crash in android"> Navigating to the another actvity app getting crash in android </a> </li> <li> <a href='https://www.techqa.club/v/q/how-to-read-the-particular-message-format-in-android-and-store-in-sqlite-database-23211116' title="How to read the particular message format in android and store in sqlite database?"> How to read the particular message format in android and store in sqlite database? </a> </li> <li> <a href='https://www.techqa.club/v/q/resetting-inventory-status-after-order-is-cancelled-39125469' title="Resetting inventory status after order is cancelled"> Resetting inventory status after order is cancelled </a> </li> <li> <a href='https://www.techqa.club/v/q/efficiently-compute-powers-of-x-in-sse-avx-67955549' title="Efficiently compute powers of X in SSE/AVX"> Efficiently compute powers of X in SSE/AVX </a> </li> <li> <a href='https://www.techqa.club/v/q/insert-into-an-external-database-using-ajax-and-php-post-500-internal-server-error-43365921' title="Insert into an external database using ajax and php : POST 500 (Internal Server Error)"> Insert into an external database using ajax and php : POST 500 (Internal Server Error) </a> </li> </ul> </div> </div> <div class="ikanAtas"> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:inline-block;width:970px;height:250px" data-ad-client="ca-pub-2199440138602787" data-ad-slot="2207584572"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> </div> <div class="row"> </div> </div> <div class="scrolltop-wrap"> <a href="#" role="button" aria-label="Scroll to top"> <svg height="48" viewBox="0 0 48 48" width="48" height="48px" xmlns="http://www.w3.org/2000/svg"> <path id="scrolltop-bg" d="M0 0h48v48h-48z"></path> <path id="scrolltop-arrow" d="M14.83 30.83l9.17-9.17 9.17 9.17 2.83-2.83-12-12-12 12z"></path> </svg> </a> </div> </section> <footer class="minFoo"> <div class="container"> <div class="row"> <div class="col-md-12"> <ul class="menuBot"> <li> <a href="/p/privacy">Privacy</a></li> <li> <a href="/p/terms">Terms</a></li> <li> <a href="/p/cookies-policy">Cookies</a></li> <li> <a href="https://homegardensmart.com/">Homegardensmart</a> </li> <li> <a href="https://math.techqa.club/">Math</a> </li> <li> <a href="https://aftereffectstemplates.net/">Aftereffectstemplates</a> </li> </ul> </div> </div> </div> </footer> <div class="hide"><input name="_requesttoken" id="requesttoken" type="hidden" value="36KqIbzucCb29lazM0ZI8KjCHkpayXoxsB7VCHgr"/></div> <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> <script src="https://www.techqa.club/js/hljs.js"></script> </script> </body> </html>