ASP.NET 4 Unleashed
IN THIS CHAPTER
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. |