C# and XML Primer

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Learn XML and how to use and integrate it into your C# applications using this compact book. This guide helps you avoid the pitfalls of dealing with XML and C# since handling XML with C# and the .NET Platform can present its own set of challenges. XML is far from a dead technology, so it is important to learn how best to use it in your applications when the need arises. What You Will Learn Gain the essentials of XML for C# development Read XML files with XMLDocuMent and XDocument Write XML with XMLDocument, XDocument, and XMLWriter Modifiy your XML with XML Document and XDocument Who This Book Is For Experienced Windows application programmers/developers using .NET and C# who may be new to using and applying XML.

Author(s): Jonathan Hartwell
Publisher: Apress
Year: 2017

Language: English
Pages: 86

Contents at a Glance
Contents
About the Author
About the Technical Reviewer
Introduction
Chapter 1: Introduction to XML
What Is XML?
XPath
XSLT—Extensible Stylesheet Language
Wrapping Up
Chapter 2: Reading XML
Using XmlDocument
Searching with XPath
Search Using Attributes
Handling Namespaces
Using XPathDocument
Reading with XmlReader
Using LINQ to XML
Document vs. Document.Root: Getting to the Root Document
Searching for Attributes
Transforming Results
Using XPath with XDocument
Chapter 3: Modifying XML
Using XmlDocument
Modifying Attributes
Modifying Elements
Adding Attributes
Adding Elements
Merging Documents
Removing Attributes
Removing Elements
Saving Our Changes
LINQ to XML
Modifying Attributes
Modifying Elements
Adding Attributes
Adding Elements
Merging Documents
Removing Attributes
Removing Elements
Saving Our Changes
Chapter 4: Serialization
Creating a Model
Writing to File
Composition
Inheritance
SOAP
Deserializing
Chapter 5: Real Life Examples
RSS Feed Application
Weather Application
A Basic XML Serializer
Index