Working with XML Documents Using LINQ to XML
Intermediate
- 12 videos | 54m 14s
- 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
-
7m 30sAfter 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 9sAfter completing this video, you will be able to recognize how to write LINQ to XML queries and manipulate XML documents. FREE ACCESS
-
5m 7s
-
1m 48s
-
4m 14s
-
2m 48s
-
6m 45sIn this video, you will query documents that include XML namespaces. FREE ACCESS
-
4m 12s
-
3m 53s
-
3m 39sDuring this video, you will learn how to assemble XML documents using the XElement.Add() method to add content to an existing XElement. FREE ACCESS
-
2m 13s
-
3m 58sIn 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.