Using XForms and the OpenDocument format in and StarOffice

From Apache OpenOffice Wiki
Jump to: navigation, search

This paper addresses the use of the W3C XForms standard in the office suite. is a cousin to the StarOffice suite. They are both very versatile and standards compliant office suites. StarOffice was originally developed by StarDivision and acquired by Sun Microsystems in August 1999 who released the source code as open source calling it After this source code was released, it gathered a large developer base. As of November 2008, supports over 45 languages and installs on a number of different computer operating systems.

The ISO/IEC standard OpenDocument format (ODF) is a generic file format for electronic office documents (such as spreadsheets, charts, presentations, word processing, and form documents). While the specifications were originally developed by Sun, the standard was embraced by the Open Office XML technical committee of the Organization for the Advancement of Structured Information Standards (OASIS) consortium and is now considered the base on which the XML format is structured.

The eXtensible Markup Language (XML) is a general-purpose specification for creating customized markup languages. It is extensible because it allows the user to define custom mark-up elements. XML's purpose is to aid information systems in sharing structured data as well as separate the data from the presentation of that data.

One component of XML in version 2.0 and beyond is the use of XForms XForms with complex data can be processed locally while providing instant feedback to the user without sending or receiving data across a network connection. XForms may be saved to disk, submitted to the Internet, or even a file server. Selections made in XForms and saved to disk can latter be reopened with the user's selections still intact.

Another component of XML in version 2.0 is XML Path Language (XPath) XPath is a language for selecting elements from an XML document. In addition, XPath may be used to compute values (strings, numbers, or boolean values) from the content of an XML document.

Step-by-step instructions with explanations will be given on how one might set up a practical and useful XForm using XPath in the suite. Before showing how allows a user to graphically create XForms, a very quick and basic explanation of XML and XForms will be given to help the user with the fundamental concepts of what is happening under the graphical interface. If you are familiar with these concepts, then please feel free to skip them and go directly to the "XForms and XPath in" section.

For this full document, please download this file.

Personal tools