stroing a string into xmlelement and vice versa

Discussion in 'ASP .Net' started by deepak, Feb 8, 2008.

  1. deepak

    deepak Guest

    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

    deepak, Feb 8, 2008
    #1
    1. Advertising

  2. deepak

    bruce barker Guest

    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)


    "deepak" wrote:

    > 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
    >
    >
    >
    >
    bruce barker, Feb 8, 2008
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. -
    Replies:
    8
    Views:
    614
    Antti S. Brax
    Jun 11, 2005
  2. Flyingaway
    Replies:
    6
    Views:
    22,796
    Jack Klein
    Feb 19, 2005
  3. thinktwice
    Replies:
    4
    Views:
    897
    =?iso-8859-1?q?Kirit_S=E6lensminde?=
    Sep 7, 2006
  4. Astan Chee
    Replies:
    1
    Views:
    385
    Paul McGuire
    Mar 13, 2007
  5. Tzury
    Replies:
    6
    Views:
    2,409
    =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=
    Jun 17, 2007
Loading...

Share This Page