Working with XML Documents Using LINQ to XML

Intermediate
  • 12 Videos | 52m 25s
  • Earns a Badge
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

  • Playable
    1. 
    LINQ to XML
    7m 20s
    UP NEXT
  • Playable
    2. 
    Querying and Manipulating XML Documents
    8m
  • Locked
    3. 
    Adding to an XML Document
    4m 58s
  • Locked
    4. 
    Extracting numerical values from an XML file
    1m 38s
  • Locked
    5. 
    Using select Statements with LINQ to XML
    4m 5s
  • Locked
    6. 
    Projecting XML elements onto a domain object
    2m 39s
  • Locked
    7. 
    Querying Documents That Include XML Namespaces
    6m 36s
  • Locked
    8. 
    Creating XML Documents with LINQ to XML
    4m 3s
  • Locked
    9. 
    Using XElement to create simple XML fragments
    3m 44s
  • Locked
    10. 
    Assembling XML Documents with XElement.Add
    3m 30s
  • Locked
    11. 
    Using LINQ’s select operator to generate SML
    2m 4s
  • Locked
    12. 
    Comparing XML APIs
    3m 49s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

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

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Likes 18 Likes 18  
Likes 2 Likes 2