Generating XForms from an XML Schema

  • Ján Kasarda
  • Martin Nečaský
  • Tomáš Bartoš
Conference paper
Part of the Communications in Computer and Information Science book series (CCIS, volume 88)

Abstract

As the usage of classic web forms written purely in HTML rises, their capabilities become insufficient. So the XForms technology, the new forms based completely on the XML format, was created. 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 the XML Schema to XForms using 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.

Keywords

XML Schema XForms semi-automatic transformation 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Kasarda, J. (ed.): XForms. Thesis. Faculty of Mathematics and Physics. Charles University, Prague (2007)Google Scholar
  2. 2.
    Lee, E., Kim, T.-H.: Automatic Generation of XForms Code Using DTD. In: Fourth Annual ACIS International Conference on Computer and Information Science (2005), 0-7695-2296-3Google Scholar
  3. 3.
    Song, K., Lee, K.-H.: IEEE International Conference on Web Services (2007), 0-7695-2924-0 Google Scholar
  4. 4.
    Kurtev, I., Bézivin, J., Aksit, M.: Technological Spaces: An Initial Appraisal. In: International Symposium on Distributed Objects and Applications, DOA 2002, Irvine, USA, October 30-November 1 (2002)Google Scholar
  5. 5.
    Garvey, P., French, B.: Generating User Interfaces from Composite Schemas, http://www.idealliance.org/xmlusa/03/call/xmlpapers/03-03-04.994/.03-03-04.html
  6. 6.
    Pemberton, S.: XHTML 1.0 The Extensible HyperText Markup Language, 2nd edn., http://www.w3.org/TR/xhtml1/
  7. 7.
    World Wide Web Consortium XSL Transformations (XSLT), Version 1.0, http://www.w3.org/TR/xslt
  8. 8.
    Christensen, E., Curbera, F., Meredith, G., Weerawarana, S.: Web Services Description Language (WSDL) 1.1, http://www.w3.org/TR/wsdl
  9. 9.
    World Wide Web Consortium XML Schema, http://www.w3.org/XML/Schema
  10. 10.
    Raggett, D.: HTML 4.01 Specification, http://www.w3.org/TR/html401
  11. 11.
    World Wide Web Consortium The Extensible Stylesheet Language Family (XSL), http://www.w3.org/Style/XSL
  12. 12.
    IBM Visual XForms Designer, http://www.alphaworks.ibm.com/tech/vxd
  13. 13.
    Flanagan, D.: The definitive Guide. O’ Reilly Media, Sebastopol (2006), 0-596-10199-6Google Scholar
  14. 14.
    Boyer, J.M.: XForms 1.1, http://www.w3.org/TR/xforms11
  15. 15.
  16. 16.
    World Wide Web Consortium Document Object Model (DOM) Level 2 Core Specification, http://www.w3.org/TR/DOM-Level-2-Core/
  17. 17.
    Brownell, D.: SAX, http://www.saxproject.org/

Copyright information

© Springer-Verlag Berlin Heidelberg 2010

Authors and Affiliations

  • Ján Kasarda
    • 1
  • Martin Nečaský
    • 1
  • Tomáš Bartoš
    • 1
  1. 1.Department of Software EngineeringPrague 1Czech Republic

Personalised recommendations