CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2002
    Location
    ireland
    Posts
    291

    Winform mapped to XML, XSD

    What's the best way to map a Winform component to XML/XSD?
    TreeView is one option, are there others?

    I have large XML file (2MB), from which I've generated an XSD file, from which I have Serializable C# classes. I want a Winform which can allow me to add/remove elements and set values in WinForm style which will result in a new XML file being generated (but containing the same style as my XSD). What's the best way to manage this?

  2. #2
    Join Date
    Jun 2006
    Location
    Minnesota
    Posts
    257

    Re: Winform mapped to XML, XSD

    Do you mean that allows you to add or remove elements dynamically so you can fill in values with textboxes and what not?

    This article about Dynamic Xml Form might help.

    If I'm totally off, let me know.

  3. #3
    Join Date
    Aug 2002
    Location
    ireland
    Posts
    291

    Re: Winform mapped to XML, XSD

    Yes that's the type of thing I'm looking for. Nearly works too.

  4. #4
    Join Date
    Jun 2006
    Location
    Minnesota
    Posts
    257

    Re: Winform mapped to XML, XSD

    I've also read that browsers may come out with this in the near future. That was a few months ago so I haven't looked anything recent. This would be nice if you could have your browser auto-generate this for you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured