Mary
I can't remember the precise mechanics but I think you can achieve want you
want to do by using Dataset methods.
you create a dataset ds, ds.ReadSchema(); ds.GetXML();
Manipulating the XML is easier if you then convert the dataset into an
XmlDataDocument.
I think it can be awkward creating an XML file of with a full set of empty
tags if the schema elements are optional. I think there is a property you
can set to include empty tags (or is that in the XmlTextWriter?)
-R
"Mary" <Ma**@discussions.microsoft.com> wrote in message
news:CB**********************************@microsof t.com...
Hi,
My application has to generate dynamically XMLs from any schema. The
application doesn't know the shema structure, only the name of the .xsd
file.
So I would like to generate an empty XML from given XSD. Could anybody
tell
me how I can do this in .NET Studio?
Thanks,
Mary