Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

stroing a string into xmlelement and vice versa

1 view
Skip to first unread message

deepak

unread,
Feb 8, 2008, 7:23:00 AM2/8/08
to
Hi All,

this is a string

"<SXPServerGetObjectsResult><Objects><Task><District Key="258627584">NL
KPN</District></Task></Objects></SXPServerGetObjectsResult>"

i want to store this into a xmlelement variable for further processing
this as xmlelement IN VB.NET

How can i do it?
may u also tell me vicevers i.e. xmelement to string?
Any help would be appreciated by me.

Thanks,
Deepak
kr_dee...@hotmail.com
kr_dee...@yahoo.co.in


bruce barker

unread,
Feb 8, 2008, 11:53:01 AM2/8/08
to
asp.net has this wonderful thing called documentation. if you look up the
class you are interested in, it will give the properties and methods. type
f1 on the variable and you should see the doc, or in the index type
xmlelement.

there you will find the property OuterXml

-- bruce (sqlwork.com)

0 new messages