all groups > dotnet xml > april 2004 >
You're in the

dotnet xml

group:

xml schema and 2D arrays


xml schema and 2D arrays Neil
4/26/2004 4:38:53 PM
dotnet xml:
Hi,

I have got to transfer some data into a c# project from an old one that was
written in delphi. I am new to XML, but it looks idea for transfering this
data around. I have written a schema for this data using the tools in visual
studio, my problem is that i dont know how to represent the arrays in the
schema. These arrays a dynamic, so i dont know how big they are at
design-time. Is it possible to represent this kind of data in XML?

thanks in advance

Neil

Re: xml schema and 2D arrays Dino Chiesa [Microsoft]
4/27/2004 12:07:30 PM
yes it is possible.

I suggest you use the xsd.exe tool as a design aid.
Build a class in C#, then compile it into a DLL.
Run xsd /t:YourType to generate xsd that corresponds to YourType.

Using xsd.exe, You can also take an XSD file and generate C#.
Using this approach you can iterate to figure out how to generate a schema
that fits your needs.




[quoted text, click to view]

AddThis Social Bookmark Button