Groups | Blog | Home
all groups > dotnet xml > january 2005 >

dotnet xml : using xmlspy generated code


nasiem_msameh NO[at]SPAM hotmail.co.uk
1/27/2005 8:04:52 AM
HI
XMLSPY enterprise edition have the ability to produce csharp code and
classes depending on provided XML file and XSD Schema. does anyone
have examples on how to use them.
KimZander NO[at]SPAM gmail.com
1/27/2005 2:47:05 PM
Tell it to generate a C# (assuming you're using dotnet) project for
you then take a look at the code labeled test.

It has examples of how to use the object model it creates for your XSD.

ie:

1. You can Create instances of xml files adhering to your XSD.
2. You can load an exsiting instance in the object model and
manipulate it
using the objects and methods XMLSpy created for you.

One caveat. When I last looked at it (spy2005 sp1) there was no
checking of values that were supposed to be one of the values of an
enumerated type.
AddThis Social Bookmark Button