By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,896 Members | 2,185 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,896 IT Pros & Developers. It's quick & easy.

how to convert the XML data to a String

P: n/a
hi friends

I want to pass the whole xml data as a string to a function, how to
convert the XML data to a string

Sep 28 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
If you are referring to an XmlDocument object, you can use the OuterXml
property.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"raan" wrote:
hi friends

I want to pass the whole xml data as a string to a function, how to
convert the XML data to a string

Sep 28 '06 #2

P: n/a
XmlDocument.OuterXml.. although its probaly a better idea just to pass
the xml objects around.

raan wrote:
hi friends

I want to pass the whole xml data as a string to a function, how to
convert the XML data to a string
Sep 28 '06 #3

P: n/a

raan schreef:
hi friends

I want to pass the whole xml data as a string to a function, how to
convert the XML data to a string
What is the type of your XML data?

Perhaps this class helps:

System.Xml.XmlConvert

Regards,
Jeroen

Sep 28 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.