Working with XML Documents Using LINQ to XML

Intermediate
  • 12 videos | 54m 14s
  • Earns a Badge
Rating 4.5 of 11 users Rating 4.5 of 11 users (11)
LINQ to XML is a library for querying and creating XML. In this course, you'll explore LINQ to XML, including how to read and query an XML file, load an XML file and find elements, write queries, manipulate and add to an XML document, and extract numerical values. You'll also examine the use of select statements with LINQ to XML, querying documents that include XML namespaces, and creating XML documents. Finally, you'll learn how to create XML using XElement, assemble XML documents with the XElement.Add method, the differences between the system.Xml.Linq and the system.Xml namespaces, and how to write XML with namespaces. This course was originally created by Global Knowledge (GK).

WHAT YOU WILL LEARN

  • Describe linq to xml and recognize how to load an xml document into memory and navigate over the xml nodes
    Recognize how to write linq to xml queries and manipulate xml documents
    Demonstrate how to display the first title and attributes for the book elements in a sample xml file and add a currency attribute for the price element
    Demonstrate how to use casting operators on xelements to extract numerical values from an xml file
    Recognize how to copy data from an xml document to an object and how to use select statements with linq to xml
    Demonstrate how to query a sample xml file for elements and project the results using the linq select statement
  • Query documents that include xml namespaces
    Recognize how linq to xml can be used to create xml documents
    Demonstrate how to use a console application, linq to xml, and function construction to create xml fragments and write output to the console window
    Assemble xml documents using the xelement.add() method to add content to an existing xelement
    Demonstrate how to generate xml using linq’s select operator
    Differentiate between the system.xml.linq and system.xml namespaces

IN THIS COURSE

  • 7m 30s
    After completing this video, you will be able to describe LINQ to XML and how to load an XML document into memory and navigate over the XML nodes. FREE ACCESS
  • 8m 9s
    After completing this video, you will be able to recognize how to write LINQ to XML queries and manipulate XML documents. FREE ACCESS
  • Locked
    3.  Adding to an XML Document
    5m 7s
  • Locked
    4.  Extracting numerical values from an XML file
    1m 48s
  • Locked
    5.  Using select Statements with LINQ to XML
    4m 14s
  • Locked
    6.  Projecting XML elements onto a domain object
    2m 48s
  • Locked
    7.  Querying Documents That Include XML Namespaces
    6m 45s
    In this video, you will query documents that include XML namespaces. FREE ACCESS
  • Locked
    8.  Creating XML Documents with LINQ to XML
    4m 12s
  • Locked
    9.  Using XElement to create simple XML fragments
    3m 53s
  • Locked
    10.  Assembling XML Documents with XElement.Add
    3m 39s
    During this video, you will learn how to assemble XML documents using the XElement.Add() method to add content to an existing XElement. FREE ACCESS
  • Locked
    11.  Using LINQ’s select operator to generate SML
    2m 13s
  • Locked
    12.  Comparing XML APIs
    3m 58s
    In this video, find out how to differentiate between the system.Xml.Linq and system.Xml namespaces. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 3.0 of 1 users Rating 3.0 of 1 users (1)
Rating 4.5 of 2242 users Rating 4.5 of 2242 users (2242)
Rating 4.3 of 9 users Rating 4.3 of 9 users (9)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.5 of 473 users Rating 4.5 of 473 users (473)
Rating 4.4 of 27 users Rating 4.4 of 27 users (27)
Rating 4.5 of 560 users Rating 4.5 of 560 users (560)