On Wed, 14 Jul 1999, Daniel Lopez wrote: [snip...] > I have implmented it in the following way: One XML file to describe the > syntax, type, etc of the data file and the data file. If you edit by hand > you only have to modify the data file. The GUI loads the data file ad when > it has to represent one of the entries, it looks up it in the definition. > > Example: > > Data: > > <servername>www.myhost.com</serverName> > <port>80</port> > > Definition file: > <string name="serverName" label="Server Name" width="20"> > <default>localhost</localhost> > </string> > <number name="port" label="Port" width="5"> > <default>80</default> > </number> > [snip...] This looks a lot like the W3C's XML Schema proposal. I first heard of it at one of Sun's XML sessions at JavaOne, they seem to be backing it. http://www.w3.org/TR/xmlschema-1/ http://www.w3.org/TR/xmlschema-2/ jhReceived on Wednesday, 14 July 1999 06:28:23 EDT
This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 13:35:14 EDT