Export (0) Print
Expand All

Data View

A Data View is a live, customizable view of an XML data source—it retrieves data from a data source in the form of XML and displays that data by using Extensible Stylesheet Language Transformations (XSLTs).

You can create Data Views in both HTML pages and ASP.NET pages. You modify a Data View in an HTML page or an ASP.NET page through the Microsoft Expression Web interface in the same way, but the code that Expression Web writes for you is different in the two types of files:

When you create a Data View in an ASP.NET page, Expression Web adds an ASP XML control (<asp:Xml> tag) to your page and sets properties of that control. In addition, Expression Web creates an Extensible Stylesheet Language Transformations (XSLT) file (.xls) to provide the formatting that you design for the XML in the Expression Web interface.

When you create a Data View in an HTML page, Expression Web adds an IFRAME element to your page and creates two additional files for your site: a JavaScript file that executes when the IFRAME element content loads and an XSLT file to provide the formatting that you design for the XML in the Expression Web interface.

Community Additions

ADD
Show:
© 2014 Microsoft