![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
To a large extent, it probably depends on what you're going to do with the data. Generally though. I'd be inclined to go with XSD first, since that defines the data model - in the same way that you design a database schema before doing any INSERT statements. Having said that, I usually go through a kind of iterative process (for both database design and XML modelling) where I start with an XML structure (or entity model) on paper that I know is "kinda" what I need, and then start working out the XSD / table defs needed for that structure. I then need to think about the various constraints, relationships, hierarchies etc. and refine the schema from there. So, to sum up - the answer to your question is both :-) Of course, somethimes your just given a schema that you have to work with (e.g. when integrating with external partners or existing systems), so the choice goes out the window anyway! Someone else might have a more "formal design methodology" type answer - any takers! Cheers, Graeme -- ---- Graeme Malcolm Principal Technologist Content Master Ltd. www.contentmaster.com "msnews.microsoft.com" <no (AT) no (DOT) com> wrote in message news:%23Hw5kwOkEHA.2680 (AT) TK2MSFTNGP15 (DOT) phx.gbl... What comes first, XML or XSD? When you start building a project that will include XML, what would you start on first, building your XML data file or your XSD schema file? thanks Ralph Krausse www.consiliumsoft.com Use the START button? Then you need CSFastRunII... A new kind of application launcher integrated in the taskbar! ScreenShot - http://www.consiliumsoft.com/ScreenShot.jpg |
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |