Handling Failed Update Attempts Elegantly

Chapter 12

Working with XML Data

In this chapter, I'll explain how to use ADO.NET's XML features, most notably those that allow you to read and write data in XML format. But before I do so, I need to offer a disclaimer: this chapter is not intended to teach you all about XML. Entire books are dedicated to that task.

Although this chapter won't offer an in-depth guide to XML and related technologies such as XSLT and XPath, it will demonstrate some of the power of these technologies. I'll assume that you know the basics of working with XML, XSLT, and XPath, but this knowledge is not required. Even if you can't spell XML, this chapter can help you develop an appreciation for XML and whet your appetite for learning more.

While discussing using ADO.NET with XML data, I'll also show off some of the XML features of Microsoft SQL Server 2000. Again, entire books are dedicated to explaining these features in depth, such as Graeme Malcolm's Programming Microsoft SQL Server 2000 with XML (Microsoft Press, 2001). This chapter will assume that you understand the basics of SQL Server 2000's XML features and want to access them via ADO.NET, but even if you're not familiar with them, you can use the code snippets and appreciate the power of these features.



Microsoft ADO. NET Core Reference
Microsoft ADO.NET (Core Reference) (PRO-Developer)
ISBN: 0735614237
EAN: 2147483647
Year: 2002
Pages: 104
Authors: David Sceppa

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net