asp tutorials, asp.net tutorials, sample code, and Microsoft news from 15Seconds
Data Access  |   Troubleshooting  |   Security  |   Performance  |   ADSI  |   Upload  |   Email  |   Control Building  |   Component Building  |   Forms  |   XML  |   Web Services  |   ASP.NET  |   .NET Features  |   .NET 2.0  |   App Development  |   App Architecture  |   IIS  |   Wireless
 
Pioneering Active Server
 Power Search










Active News
15 Seconds Weekly Newsletter
• Complete Coverage
• Site Updates
• Upcoming Features

More Free Newsletters
Reference
News
Articles
Code Samples
Components
Tools
New
Free
Downloads
Vendors
FAQ
Feedback
Books
Links
DL Archives
Community
Messageboard
List Servers
Mailing List
WebHosts
Consultants
Tech Jobs
15 Seconds
Home
Site Map
Press
Legal
Privacy Policy
internet.commerce














internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

HardwareCentral
Compare products, prices, and stores at Hardware Central!

To make one ASP page an XML data consumer of another ASP page, use the XML data island.

Source.asp - This page writes XML with the RESPONSE.WRITE method.
Consumer.asp -This page gets and displays the data.

Consumer.asp:


<xml id=xmlDSO name=xmlDSO src="Source.asp></xml>

<Table datasrc="#xmlDSO">
    <TR>
      <TD><span datafld="SITE"><span></TD>
      <TD><span datafld="URL"><span></TD>
   </TR>
</table>

Source.asp:


Response.ContentType = "text/xml"
Response.Write "<?xml version='1.0' ?>"
Response.write "<ROOT>"
Response.write "<SITE>15 Seconds</SITE>"
Response.write "<URL>15seconds.com</URL>"
Response.write "</ROOT>"

Submitted by Ian Vink

Read Ian Vink's full-length tutorial on binding client-side controls dynamically using XML-DSO and IE.



email this code sample to a colleague


Support the Active Server Industry



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers