Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. XMLSerialization

XMLSerialization

Scheduled Pinned Locked Moved C#
xmlhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    z_ahamad
    wrote on last edited by
    #1

    Hi, I am Serializing an Object by using XmlSerializer but when XML file is created it is including the Namespace details like xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" in the Element. But I dont want that Namespace details in the XML file. Is there any way to do this. Thanks for your help in advance. Zaheer

    L 1 Reply Last reply
    0
    • Z z_ahamad

      Hi, I am Serializing an Object by using XmlSerializer but when XML file is created it is including the Namespace details like xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" in the Element. But I dont want that Namespace details in the XML file. Is there any way to do this. Thanks for your help in advance. Zaheer

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      z_ahamad wrote: But I dont want that Namespace details in the XML file. You can remove it after serialization, but it will likely break something. xacc-ide 0.0.15 now with C#, MSIL, C, XML, ASP.NET, Nemerle, MyXaml and HLSL coloring - Screenshots

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups