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. Creation of xml-file based on schema?

Creation of xml-file based on schema?

Scheduled Pinned Locked Moved XML / XSL
databasexmlcsharpvisual-studiotools
5 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.
  • E Offline
    E Offline
    eroi
    wrote on last edited by
    #1

    My task is to create xml-files based on different schemas. The schema files are quite big approx 4000 rows. The contents of the files are stored in our database. I know how to validate, but I am puzzled with file creation process. I need information about how to solve it in a time efficient and flexible (schemas may change now and then) way. Is there a best practice way or are there support tools available? I use Visual studio as development platform. thanks all

    L 1 Reply Last reply
    0
    • E eroi

      My task is to create xml-files based on different schemas. The schema files are quite big approx 4000 rows. The contents of the files are stored in our database. I know how to validate, but I am puzzled with file creation process. I need information about how to solve it in a time efficient and flexible (schemas may change now and then) way. Is there a best practice way or are there support tools available? I use Visual studio as development platform. thanks all

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

      eroi wrote:

      My task is to create xml-files based on different schemas.

      I do not understand your question. How can you create XML files based on schemas? A schema defines the structure of the XML but you also need a data source to generate an XML file don't you?

      E 1 Reply Last reply
      0
      • L led mike

        eroi wrote:

        My task is to create xml-files based on different schemas.

        I do not understand your question. How can you create XML files based on schemas? A schema defines the structure of the XML but you also need a data source to generate an XML file don't you?

        E Offline
        E Offline
        eroi
        wrote on last edited by
        #3

        Something like the content of the following link is what I am trying to do: http://msdn2.microsoft.com/en-us/library/aa302296.aspx[^] But I wonder if there are better/alternative ways. Today I create the file using the System.Xml.XmlDocument and adding elements and etc, but it is very time consuming. The content I pick up from our database. /EROI

        L 1 Reply Last reply
        0
        • E eroi

          Something like the content of the following link is what I am trying to do: http://msdn2.microsoft.com/en-us/library/aa302296.aspx[^] But I wonder if there are better/alternative ways. Today I create the file using the System.Xml.XmlDocument and adding elements and etc, but it is very time consuming. The content I pick up from our database. /EROI

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

          eroi wrote:

          but it is very time consuming.

          What is time consuming?

          led mike

          E 1 Reply Last reply
          0
          • L led mike

            eroi wrote:

            but it is very time consuming.

            What is time consuming?

            led mike

            E Offline
            E Offline
            eroi
            wrote on last edited by
            #5

            Developing, programming, no problem with performance.

            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