Abstract
The capabilities of classic web forms written purely in HTML become these days insufficient. The missing type control, no support for validation, or tight coupling of data and presentation layers limit their usage. So the XForms technology, the new generation forms based completely on the well-known XML format, was created. It includes all mentioned features and no other scripting language is needed. There are several studies of how to automate the process of creating XForms if there exists a schema against which the form will be validated. This paper presents a new method of semi-automatic transformation from an XML Schema to XForms using a simple subset of the XHTML as the host language for generated forms. The proposed algorithm is based on traversing the input XML schema and generating the XForms form in two phases. We prove the feasibility of this concept with the implemented XForms editor.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Brownell D (2004) SAX. http://www.saxproject.org
Flanagan D (2006) JavaScript—the definitive guide: activate your web pages: covers Ajax and DOM scripting, 5. ed. O'Reilly. ISBN: 978-0-596-10199-2, 1–994. bibsource: DBLP, http://dblp.uni-trier.de. http://www.oreilly.de/catalog/jscript5/index.html
Garvey P, French B (2003) Generating user interfaces from compoite schemas. In: Proceedings of XML 2003, Philadelphia, PA, Dec 2003
IBM (2006) Visual XForms designer. http://www.alphaworks.ibm.com/tech/vxd
Kasarda J (2007) Editor XForms. Master’s thesis, Faculty of Mathematics and Physics, Charles University in Prague
Kasarda J (2007) XForms editor. http://www.ms.mff.cuni.cz/ kasaj4am/xforms.zip
Kurtev I, Bezivin J, Aksit M (2002) Technological spaces: an initial appraisal. In: International symposium on distributed objects and applications, DOA 2002
Lee E, Kim T-H (2005) Automatic generation of XForms code using DTD. In: ICIS’05: proceedings of the 4th annual ACIS international conference on computer and information science. IEEE Computer Society, Washington, DC, pp 210–214
Song K, Lee K-H (2007) An automated generation of XForms interfaces for web service. In: IEEE international conference on web services, pp 856–863
The Eclipse Foundation (2010) Eclipse IDE. http://www.eclipse.org
The Eclipse Foundation (2010) Model development tools (MDT). http://www.eclipse.org/modeling/mdt/?project=xsd
W3C (1999) HTML 4.01 specification. http://www.w3.org/TR/html401
W3C (2000) Document object model (DOM) level 2 core specification. http://www.w3.org/TR/DOM-Level-2-Core
W3C (2002) XHTML 1.0: The extensible hypertext markup language, 2nd edn. http://www.w3.org/TR/xhtml1
W3C (2004) XML schema. http://www.w3.org/XML/Schema
W3C (2009) The extensible stylesheet language family (XSL). http://www.w3.org/Style/XSL
W3C (2009) XForms 1.1. http://www.w3.org/TR/xforms11
World Wide Web Consortium (1999) XSL transformations (XSLT), version 1.0. http://www.w3.org/TR/xslt
Acknowledgments
This research has been partly supported by Czech Science Foundation (GAČR) project Nr. P202/10/0573.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2011 Springer Science+Business Media, LLC
About this paper
Cite this paper
Kasarda, J., Bartoš, T. (2011). Semi-Automatic Transformation of an XML Schema to XForms. In: Pokorny, J., et al. Information Systems Development. Springer, New York, NY. https://doi.org/10.1007/978-1-4419-9790-6_27
Download citation
DOI: https://doi.org/10.1007/978-1-4419-9790-6_27
Published:
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4419-9645-9
Online ISBN: 978-1-4419-9790-6
eBook Packages: Computer ScienceComputer Science (R0)