|
ASP.NET XML Control
Complete Web Control Reference
Definition and Usage
The XML control is used to display an XML document or the results of an XSL
Transform.
Note: At least one of the XML Document properties must be set or no
XML document is displayed.
You can also specify an XSLT document that will format the XML
document before it is written to the output. You can format the XML
document with the Transform property or the TransformSource property.
Properties
| Property |
Description |
.NET |
| ClientID |
|
|
| Controls |
|
|
| Document |
Deprecated. Specifies an XML document using a System.Xml.XmlDocument
object |
1.0 |
| DocumentContent |
Specifies an XML string |
1.0 |
| DocumentSource |
Specifies a path to an XML file to display |
1.0 |
| EnableTheming |
|
|
| runat |
Specifies that the control is a server control. Must
be set to "server" |
1.0 |
| SkinID |
|
|
| Transform |
Formats the XML document using a
System.Xml.Xsl.XslTransform object |
1.0 |
| TransformArgumentList |
|
|
| TransformSource |
Specifies a path to an XSL Transform file |
|
| XPathNavigator |
|
|
Control Standard Properties
|
AppRelativeTemplateSourceDirectory, BindingContainer,
ClientID, Controls, EnableTheming, EnableViewState, ID, NamingContainer,
Page, Parent, Site, TemplateControl, TemplateSourceDirectory, UniqueID,
Visible |
For a full description, go to Control
Standard Attributes.
Examples
XML
This example shows how to use the Xml control to display the result of an XSL
Transform.
Complete Web Control Reference

Whether you're new to XML or already an advanced user,
the user-friendly views and powerful entry helpers,
wizards, and debuggers in XMLSpy are designed to meet your XML
and Web development needs from start to finish.
- XML editor
- Graphical XML Schema / DTD editors
- XSLT 1.0/2.0 editor, debugger, profiler
- XQuery editor, debugger, profiler
- XBRL validator & taxonomy editor
- Support for Office Open XML (OOXML)
- Graphical WSDL editor & SOAP debugger
- Java, C#, C++ code generation
- And much more!
Download a free trial today!
|
|
|
|