Xml Control Example
Xml Control Example
The XML control is used to display an XML document or the results of an XSL Transform.
At least one of the XML Document properties must be set or no XML document is displayed
Property:-
Document:- Deprecated. Specifies an XML document using a System.Xml.XmlDocument object
DocumentContent:- Specifies an XML string
DocumentSource :-Specifies a path to an XML file to display
EnableTheming
runat:- Specifies that the control is a server control. Must be set to "server"
Transform:- Formats the XML document using a System.Xml.Xsl.XslTransform object 1.0
TransformSource:- Specifies a path to an XSL Transform file
...........................designinig code for xml control..........
....................................................................
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
Untitled Page
...................................................................
....................XML code......................................
kamal
1011
s\w Engg.
Aditya
1012
s\w Engg
Rohan
1014
s\w Engg
Ashish
1015
s\w Engg
....................................................................
....................................................................
.....................XSLT code.....................................
Employee Details
...................................................................