Re: How to Send XML to client

Tech-Archive recommends: Fix windows errors by optimizing your registry



It depends in what circumstances (within what method of your code) you
generate that XML.
You most probably could use the Response.Write() method to directly write
the XML onto the page that the client will see in his browser.
Could you tell us more about the context of this XML generation?

"ad" <flying@xxxxxxxxxxxxxxx> wrote in message
news:%23PBKLxfpGHA.3324@xxxxxxxxxxxxxxxxxxxxxxx
I am using VS2005 to develop Asp.Net program.
I use the codes below to create a XML stream:
How can I set the Stream to client?



//-----------------------------------------------------------------------------
MemoryStream sm= new MemoryStream();
dsHealth.WriteXml(sm);






.



Relevant Pages

  • Re: how to export view to display - xml with specific xsd?
    ... Also xp_cmdshell runs on the server, ... SQL Server to a file and open the file in Word on the client machine. ... It opens up a ... XML to be generated in a Word-specific XML format. ...
    (microsoft.public.sqlserver.xml)
  • Re: receive xml
    ... into a single element of a POST, but that's only ADDING complexity, not ... And if you want to go the pure XML route, ... the client will already have to communicate ... using HTTP GET, so am I making things easier by now making them accept ...
    (comp.lang.php)
  • Re: Access 2010 with Sharepoint 2010
    ... I upload data with linefeeds in it to a client website all the time. ... but all of the web services and soap protocol's MOSTLY use xml. ... access application on their two computers, but I am hosting the data on SQL ...
    (comp.databases.ms-access)
  • Re: Regarding IO, OO-design and Encapsulation
    ... Thus even though a client is accessing a generalized property, ... Question-types from an XML file and be able to output these to an XML ... The problem is that one needs to know the specific subclass the instance must belong to in order to create it. ... If the Client passes the Bystander instance to Service when Client invokes the Service's behavior, Client is essentially instantiating the R2 relationship temporarily. ...
    (comp.object)
  • Re: Site Discovery
    ... We don't recommend you customize the information on the WINS server. ... XML document could not be customized. ... change the site of a client, you may add the client to the site boundary of ... | Can you edit this XML doc? ...
    (microsoft.public.sms.admin)