470,870 Members | 1,400 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,870 developers. It's quick & easy.

XML document and XML schema

Greetings,

We have a requirement to utilize some sort of data storage, and XML
strikes as being as viable a technology as the next one.

I have started by using the XMLSchema designer to cook up a minimal
schema to get us started.

Now I'd like to take that schema and start a new XML document based
upon the schema.

I'm somewhat of a newbie to XML when it comes to this, so I may not
even be utilizing it correctly, so please bear with me.

Is this a valid operation to do in the .NET framework? If not, how
might we generate an XML document based upon the XML schema we cooked
up?

Thanks in advance.

Regards,
Michael Powell

May 29 '06 #1
1 1234
Mike wrote:
Greetings,

We have a requirement to utilize some sort of data storage, and XML
strikes as being as viable a technology as the next one.

I have started by using the XMLSchema designer to cook up a minimal
schema to get us started.

Now I'd like to take that schema and start a new XML document based
upon the schema.

I'm somewhat of a newbie to XML when it comes to this, so I may not
even be utilizing it correctly, so please bear with me.

Is this a valid operation to do in the .NET framework?


Yes, for production. But as a simple test, just open a new document
in a Schema-aware XML editor, and it should be able to create a
skeleton based on your schema. Then you can check that it's doing
all the right things in all the right places before you start to
cut any code.

Get the data model right at the beginning, and pretty much everything
else falls into place, Get it wrong, and the project is hosed before
you start.

///Peter
--
XML FAQ: http://xml.silmaril.ie/
May 29 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by marcus | last post: by
1 post views Thread by Dave Taylor | last post: by
1 post views Thread by Mikus Sleiners | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.