Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Meta-Schema Help!

From: "Rahul Premraj" <RPremraj@-----------.--.-->
To: <xmlschema-dev@--.--->
Date: 1/15/2005 5:36:00 PM
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.


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent