Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services 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
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 20th, 2005, 12:56 PM
Registered User
 
Join Date: Dec 2005
Location: bangkok, , Thailand.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to albusr
Default xmldocument & xmlnode

i make the return type of a webservice method as XmlDocument
but when i call it return as Xmlnode
how can i make it back to an xml document

I need some help plz
Thank you

Reply With Quote
  #2 (permalink)  
Old December 20th, 2005, 01:42 PM
Registered User
 
Join Date: Dec 2005
Location: bangkok, , Thailand.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to albusr
Default

and how can i get the whole xml document

thanks

Reply With Quote
  #3 (permalink)  
Old December 20th, 2005, 01:46 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

I think you can do something like this:

System.Xml.XmlDocument xmlDoc = new System.Xml.XmlDocument();
xmlDoc.AppendChild(xmlDoc.ImportNode(xmlSourceNode , true));

-Peter
Reply With Quote
Reply


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
XmlDocument SqlType.Xml batott ASP.NET 2.0 Professional 1 February 17th, 2008 05:48 PM
XmlDocument Vs StringBuilder anup_daware C# 4 February 8th, 2007 09:54 AM
ASP/XML Trying to delete a xmlnode Florian_mrt Classic ASP XML 1 March 20th, 2006 02:25 PM
Service returns xmlNode instead of xmlDocument! KC7ZDM .NET Web Services 0 February 18th, 2005 08:18 PM
Getting XPath Expression from XmlDocument ? boemane C# 3 August 31st, 2004 04:44 PM



All times are GMT -4. The time now is 11:17 AM.


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