Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XML
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 2nd, 2007, 01:23 AM
Registered User
Join Date: Jan 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to send xml file from server to client

On click of a button my page(Firstpage.aspx) calls the server side C# code and the Dataset writes the data from Database to a xml file


I want to pass this dsXML.xml file to my Client system so that I can manipulate the data at my Client Side Javascript code.
Reply With Quote
  #2 (permalink)  
Old January 27th, 2007, 09:22 AM
Authorized User
Join Date: Dec 2006
Location: , , .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts

You need not do it at all. You can read your XML in javascrip by simple.
                   var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
                   function loadXML(xmlFile)
Now your XML file is in xmlObj. You can work with it.


Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Send file from Servlet to Client End (Swing) nigam.anand Servlets 0 April 22nd, 2006 02:22 AM
xml file in client memory Sakubar Sathik XML 0 April 6th, 2006 04:04 AM
how to send an XML document to a server? limrick XML 0 April 29th, 2005 06:39 AM
writing to an xml file on the client side Toran XML 2 April 2nd, 2005 03:51 PM
how to send image from client to server alyeng2000 Classic ASP Basics 4 October 27th, 2003 08:10 PM

All times are GMT -4. The time now is 05:51 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.