XML Sapiens is an XML based language for user interface form algorithm descriptions.
XML Sapiens is aimed to help at cutting down time expenses in a web-project development thus lowering project's cost and to minimize laborious system programming in web-site development. It is achieved by providing tools for user interface form logics management. By user interface forms here we mean fragments of a document able to change its state depending on user's actions.
XML Sapiens concept presumes division of a document into abstract layers: data, presentation and algorithms for user interface forms.
Any web document can be logically divided into data and their presentation. Besides, a web document as a rule contains elements of user interface (navigation, forms for information input, ect.). In compliance with W3C recommendations, document presentation — in spite of its data — is managed by XSLT technology (http://www.w3.org/TR/xslt). Document's data are placed in an XML file and changed according to XSLT template rules. With the help of XSLT it is also possible to assign presentation for user interface forms, but initial data of these forms in the XML file are necessary for such a change.
XML Sapiens allows defining data source for each user interface form as well as describing the forms' logics. XML Sapiens' processor will analyze developer's instructions and will broaden the initial XML file with user interface forms' data for the current environment state. Based on the data received from the XML file, XSLT transformer will create the final form of the document.
Thus XML Sapiens helps to separate abstract constituents of a web-site: data, presentation and user interface.
Initial XML
XML Sapiens file script interface.sapi
Final XML
Displayed document formation chart