How to remove XML namespace from string

Discussion in 'ASP .Net' started by Maziar Aflatoun, Sep 13, 2005.

  1. Hello,

    I have a string variable that contains XML data with many different
    namespaces. I like to remove all the namespaces from my XML (clean the XML).
    What's the quickest way to do this?

    Ex.
    <report xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" > change to
    <report>

    Thanks
    Maz.
     
    Maziar Aflatoun, Sep 13, 2005
    #1
    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:
    1
    Views:
    585
    William F. Robertson, Jr.
    Jul 29, 2003
  2. Replies:
    0
    Views:
    5,146
  3. Anonymous
    Replies:
    3
    Views:
    542
    Ron Natalie
    Aug 18, 2003
  4. Jason Heyes
    Replies:
    1
    Views:
    456
    Woebegone
    Nov 19, 2004
  5. Kee Nethery
    Replies:
    12
    Views:
    2,124
    Stefan Behnel
    Jun 27, 2009
Loading...

Share This Page