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

XFlat

Scheduled Pinned Locked Moved XML / XSL
databasexmlquestiondiscussion
6 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.
  • B Offline
    B Offline
    barney_1972
    wrote on last edited by
    #1

    We currently define the structure of flat file wthiin our organisation using fields stored in a database. However i want to move to an xml file type definition to define file structure, maybe using some sort of schema file. I've seen an article on the use of XFlat. Does anyone know if its any good or any other alternative 'best practice' solutions? Regards

    L 1 Reply Last reply
    0
    • B barney_1972

      We currently define the structure of flat file wthiin our organisation using fields stored in a database. However i want to move to an xml file type definition to define file structure, maybe using some sort of schema file. I've seen an article on the use of XFlat. Does anyone know if its any good or any other alternative 'best practice' solutions? Regards

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

      XFlat is an XML language for defining flat file schemas. link[^] Based on your post it sounds like you want to create XML files from your database so XFlat would be of no value to that effort. What platform and development tools are you using? Have you looked at any database/xml related articles here on code project?

      B 1 Reply Last reply
      0
      • L led mike

        XFlat is an XML language for defining flat file schemas. link[^] Based on your post it sounds like you want to create XML files from your database so XFlat would be of no value to that effort. What platform and development tools are you using? Have you looked at any database/xml related articles here on code project?

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

        I'm currently on XP using VB.NET 2005. The organisation uses an older version of SAP which outputs flat files which need processing into other systems. I've looked at xsd validation which is useful for validatiing xml files and will be useful when we eventually upgrade SAP. However i need a generic way (or as much as possible) for reading from and creating flat files. I was wondering if there was a way of specifiying the structure of the flat files using xml files as some sort of schema. If not, is it possible i could de-serialise the flat files, maybe into objects and then later serialise them to (possibly) a different structured files? This is where i was wondering whether an xml type schema could be used. Any help, greatly appreciated.

        G L 2 Replies Last reply
        0
        • B barney_1972

          I'm currently on XP using VB.NET 2005. The organisation uses an older version of SAP which outputs flat files which need processing into other systems. I've looked at xsd validation which is useful for validatiing xml files and will be useful when we eventually upgrade SAP. However i need a generic way (or as much as possible) for reading from and creating flat files. I was wondering if there was a way of specifiying the structure of the flat files using xml files as some sort of schema. If not, is it possible i could de-serialise the flat files, maybe into objects and then later serialise them to (possibly) a different structured files? This is where i was wondering whether an xml type schema could be used. Any help, greatly appreciated.

          G Offline
          G Offline
          George L Jackson
          wrote on last edited by
          #4

          You can use XSLT to transform your flat files to XML.

          "We make a living by what we get, we make a life by what we give." --Winston Churchill

          1 Reply Last reply
          0
          • B barney_1972

            I'm currently on XP using VB.NET 2005. The organisation uses an older version of SAP which outputs flat files which need processing into other systems. I've looked at xsd validation which is useful for validatiing xml files and will be useful when we eventually upgrade SAP. However i need a generic way (or as much as possible) for reading from and creating flat files. I was wondering if there was a way of specifiying the structure of the flat files using xml files as some sort of schema. If not, is it possible i could de-serialise the flat files, maybe into objects and then later serialise them to (possibly) a different structured files? This is where i was wondering whether an xml type schema could be used. Any help, greatly appreciated.

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

            There are many different ways to go from flat file to XML and one is the XmlCsvReader[^]

            G 1 Reply Last reply
            0
            • L led mike

              There are many different ways to go from flat file to XML and one is the XmlCsvReader[^]

              G Offline
              G Offline
              George L Jackson
              wrote on last edited by
              #6

              There you go digging deep in the documentation again!

              "We make a living by what we get, we make a life by what we give." --Winston Churchill

              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