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. XML / XSL
  4. Deserialize XML Database

Deserialize XML Database

Scheduled Pinned Locked Moved XML / XSL
databasexml
3 Posts 3 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.
  • S Offline
    S Offline
    swguy23
    wrote on last edited by
    #1

    Hello Everybody, I have XML Serilized data stored in the database. Now I want to Deserialze that data at run time. Anybody know how deserialze data at Run time. Thankyou in Advance

    L B 2 Replies Last reply
    0
    • S swguy23

      Hello Everybody, I have XML Serilized data stored in the database. Now I want to Deserialze that data at run time. Anybody know how deserialze data at Run time. Thankyou in Advance

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      swguy23 wrote:

      Anybody know how deserialze data at Run time.

      So you don't know how to deserialize your data correct? The "at Run time" part doesn't really mean anything correct? Different platforms and development environments have different XML libraries so without knowing what yours are it is difficult to help. However in most cases the Serialize/Deserialize are both included so however you "Serialized" you use the same library (API) whatever to Deserialize.

      led mike

      1 Reply Last reply
      0
      • S swguy23

        Hello Everybody, I have XML Serilized data stored in the database. Now I want to Deserialze that data at run time. Anybody know how deserialze data at Run time. Thankyou in Advance

        B Offline
        B Offline
        BoneSoft
        wrote on last edited by
        #3

        To deserialize XML, you have to have a code model that is set up to mirror your XML structure (classes making use of the XMLSerializer attributes). Take a look at my article Using the XmlSerializer Attributes[^]. If that is what you are talking about, I have a tool that can help at BoneSoft.com[^]. Just drop in the XML you are dealing with, set the renderer to C# or VB.Net (whatever you are working with) and build it. It will produce an XML serializable class model you can use to deserialize you XML to. It will also produce a class that handles the serialization/deserialization for you. Hope that helps.


        Try code model generation tools at BoneSoft.com.

        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