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 nodesrecognize how to write LINQ to XML queries and manipulate XML documentsdemonstrate 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 elementdemonstrate how to use casting operators on XElements to extract numerical values from an XML filerecognize how to copy data from an XML document to an object and how to use select statements with LINQ to XMLdemonstrate how to query a sample XML file for elements and project the results using the LINQ select statement
-
query documents that include XML namespacesrecognize how LINQ to XML can be used to create XML documentsdemonstrate how to use a console application, LINQ to XML, and function construction to create XML fragments and write output to the console windowassemble XML documents using the XElement.Add() method to add content to an existing Xelementdemonstrate how to generate XML using LINQ’s select operatordifferentiate between the system.Xml.Linq and system.Xml namespaces
IN THIS COURSE
-
1.LINQ to XML7m 20sUP NEXT
-
2.Querying and Manipulating XML Documents8m
-
3.Adding to an XML Document4m 58s
-
4.Extracting numerical values from an XML file1m 38s
-
5.Using select Statements with LINQ to XML4m 5s
-
6.Projecting XML elements onto a domain object2m 39s
-
7.Querying Documents That Include XML Namespaces6m 36s
-
8.Creating XML Documents with LINQ to XML4m 3s
-
9.Using XElement to create simple XML fragments3m 44s
-
10.Assembling XML Documents with XElement.Add3m 30s
-
11.Using LINQ’s select operator to generate SML2m 4s
-
12.Comparing XML APIs3m 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.