Conversion from XMLText to XMLElement

Discussion in 'ASP .Net Web Services' started by Anirudh, Jan 27, 2005.

  1. Anirudh

    Anirudh Guest

    Hi, i wanted to know if there is any way to convert an object to
    XMlText to XMLElement. Thanks in advance.
     
    Anirudh, Jan 27, 2005
    #1
    1. Advertisements

  2. Hello ,
    Create an XmlDocument, Load the xml text fragment and get the first child.
    Seems longwinded but Dont recollect any at the top of my head

    HTH
    Regards,
    Dilip Krishnan
    MCAD, MCSD.net
    dkrishnan at geniant dot com
    http://www.geniant.com

    > Hi, i wanted to know if there is any way to convert an object to
    > XMlText to XMLElement. Thanks in advance.
    >
     
    Dilip Krishnan, Jan 27, 2005
    #2
    1. Advertisements

  3. Anirudh

    Anirudh Guest

    Thank you, Dilip. It works now. I had to append a root element to the
    XMLtext, but that was only a small modification. Thanks again.
     
    Anirudh, Jan 28, 2005
    #3
    1. Advertisements

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. thejeffross

    WinDbg and XmlText objects

    thejeffross, May 31, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    1,333
    Scott Allen
    Jun 1, 2005
  2. c

    help with XMLElement

    c, Jan 10, 2008, in forum: Java
    Replies:
    1
    Views:
    366
  3. deepak

    xmlelement

    deepak, Feb 7, 2008, in forum: ASP .Net
    Replies:
    1
    Views:
    484
    bruce barker
    Feb 7, 2008
  4. deepak
    Replies:
    1
    Views:
    865
    bruce barker
    Feb 8, 2008
  5. Marcos MOS

    System.Xml.XmlElement to DataSet

    Marcos MOS, Aug 1, 2003, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    1,486
  6. Maersa

    Getting an error when return an XmlElement

    Maersa, Mar 5, 2004, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    282
    Dan Rogers
    Nov 11, 2004
  7. Brian Conner via .NET 247

    XMLElement Params & wsdl

    Brian Conner via .NET 247, Oct 17, 2004, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    185
    Brian Conner via .NET 247
    Oct 17, 2004
  8. Brian Conner via .NET 247

    XMLElement Params & wsdl

    Brian Conner via .NET 247, Jan 23, 2005, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    225
    Dilip Krishnan
    Jan 24, 2005
Loading...