Chapter 13. Working with XML


IN THIS CHAPTER

  • Overview of the XML Classes

  • Using XML with DataSets

  • Transforming XML with XSL Stylesheets

  • Using the ASP.NET Xml Control

  • Using the XslTransform Class

  • Using Strongly Typed DataSets

In this chapter, you learn how to use the eXtensible Markup Language (XML) with DataSets and ASP.NET controls. First, you learn how to represent XML data in a DataSet . I discuss how you can load XML data directly into a DataSet by using the ReadXml method. You also learn how to mirror the XML data in a DataSet by using an XmlDataDocument class.

Next, you learn two methods of transforming XML documents with eXtensible Stylesheet Language (XSL) stylesheets. First, you examine how to use XSL stylesheets with the ASP.NET Xml control, which enables you to transform XML into other document formats such as HTML. You also learn how to use the XslTransform class to perform the same tasks independently of the Xml control.

Finally, you examine how to use an XML schema to generate a strongly typed DataSet . You can use a strongly typed DataSet to provide a more intuitive representation of data.



ASP.NET Unleashed
ASP.NET 4 Unleashed
ISBN: 0672331128
EAN: 2147483647
Year: 2003
Pages: 263

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