ASP.NET Tutorial
.NET HOME
.NET Intro
.NET vs ASP
.NET Install
.NET Pages
.NET Controls
.NET Events
ASP.NET Forms
.NET Forms
.NET ViewState
asp:TextBox
asp:Button
ASP.NET Binding
Data Binding
ArrayList
Hashtable
SortedList
XML Files
asp:Repeater
asp:DataList
ASP.NET Database
.NET DB Connection
ASP.NET 2.0
2.0 New Features
2.0 Master Pages
2.0 Navigation
References
HTML Controls
Web Controls
Validation Controls
Examples
ASP.NET Examples
Selected Reading
Web Statistics
Web Glossary
Web Hosting
Web Quality
W3Schools Tutorials
W3Schools Forum
Helping W3Schools
|
ASP.NET DocumentSource Property
Complete XML Control Reference
Definition and Usage
The DocumentSource property is used to set or return the path to an XML
document to display in the Xml control.
Syntax
<asp:Xml DocumentSource="path" runat="server" />
|
| Attribute |
Description |
| path |
A string that specifies the location of the xml file.
This attribute can be the relative or absolute path:
- Relative path: The path of the file relative to the location of
the current web page (like "~/note.xml")
- Absolute path: The absolute path (like "C:\xml\note.xml")
|
Example
The following example sets the text of a TextBox control:
<form runat="server">
<asp:Xml id="xml1" runat="server" DocumentSource="note.xml" />
</form>
|
The XML file used in this example (and in the "Tty-It-Yourself Demo below) is
"note.xml"
Try-It-Yourself Demos
Set the XML document source for the XML control
Complete XML Control Reference
Learn how your website performs under various load conditions
 |
|
WAPT
is a load, stress and performance testing tool for websites and web-based applications.
In contrast to "800-pound gorilla" load testing tools, it is designed to minimize the learning
curve and give you an ability to create a heavy load from a regular workstation.
WAPT is able to generate up to 3000 simultaneously acting virtual users using standard hardware configuration.
Virtual users in each profile are fully customizable. Basic and NTLM authentication methods are supported.
Graphs and reports are shown in real-time at different levels of detail, thus helping to manage the testing process.
Download the free 30-day trial!
|
|
|
Jump to: Top of Page
or HOME or
Printer friendly page
W3Schools provides material for training only. We do not warrant the correctness of its contents.
The risk from using it lies entirely with the user.
While using this site, you agree to have read and accepted our
terms of use and
privacy policy.
Copyright 1999-2008 by Refsnes Data. All Rights Reserved.
|
|
|