> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Dean Des > Rosiers > Sent: 5. februar 2003 18:20 > To: Middlegen > Subject: [Middlegen-user] XML Schemas. > > > I created a fairly simple plugin for Middlegen that creates XML > Schemas for > me. It is very specific to my project, though. My SQL to XSL > type mappings > are hard-coded, and in some cases are mapped to my own xs type definitions > (GUIDs, y/n, etc.). > > I have two different schema types. One defines the table as a data type, > not an element. Each table�s column names and column data types are > described, as is the table�s PK (with an xs:key element). I do > not outline > the foreign keys here. I use the other schema type for that. > > The �dataset� schema type defines relationships among elements whose data > types are defined in the �table schemas.� It is �Russian doll� style, and > the relationships are mapped here. Foreign keys are described using key > refs. I use a dataset as a working set of data, kind of like a > value object > tree, if I understand the latter correctly. > > It was tricky to make it happen in Middlegen. I�ll converse with Hal (or > anybody) who wishes to attempt genericization of my code. > > Dean Des Rosiers > >
Uplad it to the SF tracker. Provide some docs (preferrably xdoc format). If your stuff is complete, I can commit it in CVS. If not, it'll take longer :-) Aslak > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > middlegen-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/middlegen-user ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user
