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. The Lounge
  3. Just discovered this 6 year old gem

Just discovered this 6 year old gem

Scheduled Pinned Locked Moved The Lounge
csharprubycomxmljson
4 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.
  • M Offline
    M Offline
    Marc Clifton
    wrote on last edited by
    #1

    Fluent XML Parsing using C#'s Dynamic Object[^] Now, granted, probably dog slow compared to other forms, but for simple stuff where performance isn't critical, the XML structure is known, it's a good edition to the toolchest of useful stuff! Marc

    Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

    P 1 Reply Last reply
    0
    • M Marc Clifton

      Fluent XML Parsing using C#'s Dynamic Object[^] Now, granted, probably dog slow compared to other forms, but for simple stuff where performance isn't critical, the XML structure is known, it's a good edition to the toolchest of useful stuff! Marc

      Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #2

      Yeah, poor performance. Also, it might work for reading, but probably not for adding. As long as you already have to know the structure/schema of the XML you might as well write specific classes to do that faster and safer.

      M 1 Reply Last reply
      0
      • P PIEBALDconsult

        Yeah, poor performance. Also, it might work for reading, but probably not for adding. As long as you already have to know the structure/schema of the XML you might as well write specific classes to do that faster and safer.

        M Offline
        M Offline
        Marc Clifton
        wrote on last edited by
        #3

        PIEBALDconsult wrote:

        Also, it might work for reading, but probably not for adding.

        His part 2 covers writing.

        PIEBALDconsult wrote:

        As long as you already have to know the structure/schema of the XML you might as well write specific classes to do that faster and safer.

        I just hate backing classes that are nothing more than "mostly bags of water". But the dynamic code approach is too hard-wired for my tastes. Ugh, I guess there's no good answer, especially since I'm translating XML into DB transactions, and the XML schema and the database schema have really no similarities. Marc

        Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

        B 1 Reply Last reply
        0
        • M Marc Clifton

          PIEBALDconsult wrote:

          Also, it might work for reading, but probably not for adding.

          His part 2 covers writing.

          PIEBALDconsult wrote:

          As long as you already have to know the structure/schema of the XML you might as well write specific classes to do that faster and safer.

          I just hate backing classes that are nothing more than "mostly bags of water". But the dynamic code approach is too hard-wired for my tastes. Ugh, I guess there's no good answer, especially since I'm translating XML into DB transactions, and the XML schema and the database schema have really no similarities. Marc

          Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

          B Offline
          B Offline
          Brady Kelly
          wrote on last edited by
          #4

          Marc Clifton wrote:

          Ugh, I guess there's no good answer, especially since I'm translating XML into DB transactions, and the XML schema and the database schema have really no similarities.

          Haha, leaving infamous morsels of talking for a while of yapping away.

          No object is so beautiful that, under certain conditions, it will not look ugly. - Oscar Wilde

          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