开发者

Create dynamically a XSD for a form

开发者 https://www.devze.com 2023-04-08 12:08 出处:网络
In the Form Builder tool from Orbeon it\'s possible to specify a schema by uploading a XSD file. But if we don\'t have the schema or we are too lazy to c reate it,is it possible to create dynamicall

In the Form Builder tool from Orbeon it's possible to specify a schema by uploading a XSD file.

But if we don't have the schema or we are too lazy to c reate it, is it possible to create dynamically the schema ?

The schema is needed开发者_高级运维 for the use of the form datas in other systems like a Business Object universe.

Regards


Orbeon Forms doesn't automatically generate schemas based on the forms you create in Form Builder; instead, as you noted, it is designed to consume a schema that you already have.

However, there are tools that do just that. You can find some mentioned on the answer to this question on how to generate an XSD schema from an XML instance document.


I am working on my own project called XsdFormEditor. Application will be able to show any XSD as a form in WinForms (95% done), Web (using Asp.Net MVC, 0% done), WPF (0% done). Idea is to load any XSD file, show it to user as a form, let user input some data and save data as XML. User will be also able to load default values to form from XML file. You can find it here: https://github.com/janstafa/XsdFormEditor

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号