locked
what is the difference between xmldocument class and xdocument class RRS feed

  • Question

  • I have seen people use both xmldocument and xdocument class to parse xml.  So curious to know when to use xmldocument class and when xdocument class?

    Discuss with sample scenario and sample code.

    In what kind of scenario people should go for xmldocument class and when one should go for xdocument class.  Duscuss with Sample code.  Thanks


    • Edited by Sudip_inn Friday, July 26, 2019 8:16 PM
    Friday, July 26, 2019 8:15 PM

Answers

  • Hello,

    Rather than doing a write up between the two there is a decent thread below.

    https://stackoverflow.com/questions/1542073/xdocument-or-xmldocument


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    • Marked as answer by Sudip_inn Saturday, July 27, 2019 3:56 PM
    Saturday, July 27, 2019 9:36 AM