Return XML Document from Web Service (.net v2)

A

Andrew

Hi All,

I'm looking for information on returnning XML Documents from a web service.
Say if you have a string like this -
<xdoc><child1>1</child><child2>2</child></xdoc>
Then to convert it to XML you use the XmlDocument.LoadXML.
How would you return this whole document so that then in your ASP.Net (VB)
page can use methods like .SelectSingleNode to pick out information.
I have returned it as a XmlDocument type in the past with ASP but with
ASP.Net I seem to be having problems with casting?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,044
Latest member
RonaldNen

Latest Threads

Top