Skip to main content

Semi-Automatic Transformation of an XML Schema to XForms

  • Conference paper
  • First Online:
Information Systems Development
  • 1549 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 259.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 329.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 329.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Brownell D (2004) SAX. http://www.saxproject.org

    Google Scholar 

  2. 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

    Google Scholar 

  3. Garvey P, French B (2003) Generating user interfaces from compoite schemas. In: Proceedings of XML 2003, Philadelphia, PA, Dec 2003

    Google Scholar 

  4. IBM (2006) Visual XForms designer. http://www.alphaworks.ibm.com/tech/vxd

    Google Scholar 

  5. Kasarda J (2007) Editor XForms. Master’s thesis, Faculty of Mathematics and Physics, Charles University in Prague

    Google Scholar 

  6. Kasarda J (2007) XForms editor. http://www.ms.mff.cuni.cz/ kasaj4am/xforms.zip

    Google Scholar 

  7. Kurtev I, Bezivin J, Aksit M (2002) Technological spaces: an initial appraisal. In: International symposium on distributed objects and applications, DOA 2002

    Google Scholar 

  8. 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

    Google Scholar 

  9. 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

    Google Scholar 

  10. The Eclipse Foundation (2010) Eclipse IDE. http://www.eclipse.org

    Google Scholar 

  11. The Eclipse Foundation (2010) Model development tools (MDT). http://www.eclipse.org/modeling/mdt/?project=xsd

    Google Scholar 

  12. W3C (1999) HTML 4.01 specification. http://www.w3.org/TR/html401

    Google Scholar 

  13. W3C (2000) Document object model (DOM) level 2 core specification. http://www.w3.org/TR/DOM-Level-2-Core

    Google Scholar 

  14. W3C (2002) XHTML 1.0: The extensible hypertext markup language, 2nd edn. http://www.w3.org/TR/xhtml1

    Google Scholar 

  15. W3C (2004) XML schema. http://www.w3.org/XML/Schema

    Google Scholar 

  16. W3C (2009) The extensible stylesheet language family (XSL). http://www.w3.org/Style/XSL

    Google Scholar 

  17. W3C (2009) XForms 1.1. http://www.w3.org/TR/xforms11

    Google Scholar 

  18. World Wide Web Consortium (1999) XSL transformations (XSLT), version 1.0. http://www.w3.org/TR/xslt

    Google Scholar 

Download references

Acknowledgments

This research has been partly supported by Czech Science Foundation (GAČR) project Nr. P202/10/0573.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ján Kasarda .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics