Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8684473
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T22:19:00+00:00 2026-06-12T22:19:00+00:00

I guess that XmlDocument is deprecated class and we have to use XDocument instead.

  • 0

I guess that XmlDocument is deprecated class and we have to use XDocument instead. But TileUpdateManager.GetTemplateContent from Windows 8 UX core return XmlDocument class. As soon as it is new API, I’m wondering what reason for using XmlDocument here?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T22:19:01+00:00Added an answer on June 12, 2026 at 10:19 pm

    (I am using XDocument to refer to Linq2XML & XmlDocument to the System.XML api’s)

    Reasons I can see:

    1. XDocument requires LINQ, which is .NET specific. Windows Store apps can be built in JavaScript too, so if you were to build a XDocument to work across both JavaScript & .NET then you would need to port LINQ too and now the engineering task is massive.
    2. XDocument works with XML in a functional way, which is very not standard – the standard way to work with XML is via a DOM model. So XmlDocument provides the way that is more aligned with the way it works elsewhere.
    3. I am guessing you are thinking they are separate API’s – when XDocument builds on top of the normal XmlReader classes. So unless you completely rewrote XmlDocument you would always need it – and what is the value of rewriting something that works well just so you can hide it inside something else in the new version.
    4. While a lot of cleanup & improvements have been done to the new API’s has been done, remember it is still built on top of COM & a lot of the built in Windows API we currently have (this abstraction means should that change in the future it doesn’t impact us, but currently it is not talking direct to the kernel), so likely they are leveraging the existing tools & libraries under the covers – which would all be DOM based and better aligned to XmlDocument.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a guess that there is an incorrect code in our codebase but
Guess that I have a TextView that I want to update it in some
My guess is that the src file needs to be XML-friendly, but of course
My guess is that this question will fall under the category of duh, but,
I have this and guess that this list is a sortable one: <ul> <li
I guess that's a beginner question, but i can't find any solution or best
I guess that this is a simple question for most of you but none
I noticed that [H|T] = [1]. succeeds but [H|T] = []. fails. I guess
I'm trying to simplify a form (using ASP.NET MVC but I guess that might
Should a design class diagram show private operations? I guess that a design class

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.