- From: Rahul Premraj <RPremraj@bournemouth.ac.uk>
- Date: Sat, 15 Jan 2005 17:36:23 -0000
- To: <xmlschema-dev@w3.org>
- Message-ID: <5DA146E1E559B341A0C85AB49E01F222054832EC@tamar.bournemouth.ac.uk>
Hello, I wonder if anyone has experience in constructing a meta-schema or a meta-model. I wish to build a meta-schema containing various data types and components which would shape up a form schema. This schema would obviously differ from one form to another. Lastly, I would have an instance document which would contain the values for the respective form fields. To exemplify what I wish to implement - At the top-most level - i.e. metaschema level, I would have the following global elements Form, checkboxes, radiobuttons, textfield, combobox and listbox Then, on the schema level, I shape up my form using the above available components only. Here I should also be able to define the data type of the field. So I could have - Name - textfield having data type string Age - textfield having data type integer Gender - radio button having options Male or Female Education - listbox containing options School and University Join Mailing List - a checkbox And finally - I would have an instance document which will only have values in it as below <form> <name>John</name> <age>25</name> <gender>male</gender> <education>school</school> <join_list>yes</join_list> </form> Any guidance in creating such a three-tier xml package would be much appreciated... Many thanks, Rahul This e-mail is intended only for the person to whom it is addressed and may contain confidential information. If you have received this e-mail in error, please notify the sender and delete this e-mail, which must not be copied, distributed or disclosed to any other person. Any views or opinions presented are solely those of the author and do not necessarily represent those of Bournemouth University. Nor can any contract be formed on the University's behalf via e-mail.
Received on Sunday, 16 January 2005 04:47:39 UTC