Re: Re: xsd2db

From: Date: Thu, 27 Feb 2003 16:13:10 +0000
Subject: Re: Re: xsd2db
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-13997@lists.php.net to get a copy of this message
Hi Manuel, > Basically you seem to want to replicate a functionality that > Metabase/MDB already provide and works well. What would be the advantage > of using XSLT for the same purpose? It is not only about using XSLT instead of PHP/Expat, but using XSD instead of Metabase/MDB XML vocabulary. As far as I see, the MDB schema vocabulary is rather focused on databases and does not allow for flexible data type definitions like XSD (e.g. maxLength and minLength of strings). The proof-of-concept I am working on is to define arbitrary data structures with XSD, to not only derive e.g. table definitions or LDAP schema files, but also HTML forms and application logic from it (e.g. evaluating the minimum and maximum lengt of a form post). Sandro

« previous php.pear.dev (#13997) next »