How to create empty xml from set of schema files

Last post 08-15-2009 6:23 AM by vikash_ra. 1 replies.

Sort Posts:

  • How to create empty xml from set of schema files

    07-08-2009, 4:11 AM

    Hi friends,

    I have set of schema files, some schemas have reference schema also. I want to create empty xml file from that set of schema in 2.0 or later framework. how to do this. I have tried xsd.exe with serialization no proper xml and tried dataset also. Kindly let me know the solution

    regards,

    Senthilnathan Ragunathan

  • Re: How to create empty xml from set of schema files

    08-15-2009, 6:23 AM
    • Member
      2 point Member
    • vikash_ra
    • Member since 08-15-2009, 6:16 AM
    • Posts 1

    Have  you tried Inferschema or readschema methods of dataset?
    http://msdn.microsoft.com/en-us/library/atchhx4f.aspx

    Then you can loop trough the tables and empty rows to the existing tables. However restrictions like non null field and relationships may not allow you to do that easily.

    You can then serialize dataset as xml. Other way i see is to use some xml editor.

    www.kairasoftware.com
    for your software development needs
Page 1 of 1 (2 items)