1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir
3cdf0e10cSrcweir
4cdf0e10cSrcweir
5*226a8927SAndrew Rist<!--***********************************************************
6cdf0e10cSrcweir *
7*226a8927SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
8*226a8927SAndrew Rist * or more contributor license agreements.  See the NOTICE file
9*226a8927SAndrew Rist * distributed with this work for additional information
10*226a8927SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
11*226a8927SAndrew Rist * to you under the Apache License, Version 2.0 (the
12*226a8927SAndrew Rist * "License"); you may not use this file except in compliance
13*226a8927SAndrew Rist * with the License.  You may obtain a copy of the License at
14*226a8927SAndrew Rist *
15*226a8927SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
16*226a8927SAndrew Rist *
17*226a8927SAndrew Rist * Unless required by applicable law or agreed to in writing,
18*226a8927SAndrew Rist * software distributed under the License is distributed on an
19*226a8927SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
20*226a8927SAndrew Rist * KIND, either express or implied.  See the License for the
21*226a8927SAndrew Rist * specific language governing permissions and limitations
22*226a8927SAndrew Rist * under the License.
23*226a8927SAndrew Rist *
24*226a8927SAndrew Rist ***********************************************************-->
25*226a8927SAndrew Rist
26*226a8927SAndrew Rist
27cdf0e10cSrcweir
28cdf0e10cSrcweir
29cdf0e10cSrcweir		<helpdocument version="1.0">
30cdf0e10cSrcweir<meta>
31cdf0e10cSrcweir<topic id="textsharedguidexformsxml" indexer="include" status="PUBLISH">
32cdf0e10cSrcweir<title xml-lang="en-US" id="tit">XML Form Documents (XForms)</title>
33cdf0e10cSrcweir<filename>/text/shared/guide/xforms.xhp</filename>
34cdf0e10cSrcweir</topic>
35cdf0e10cSrcweir</meta>
36cdf0e10cSrcweir<body>
37cdf0e10cSrcweir
38cdf0e10cSrcweir
39cdf0e10cSrcweir  <section id="xforms">
40cdf0e10cSrcweir
41cdf0e10cSrcweir
42cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id5215613"><bookmark_value>web documents;XForms</bookmark_value>
43cdf0e10cSrcweir<bookmark_value>forms;XForms</bookmark_value>
44cdf0e10cSrcweir<bookmark_value>XML Forms, see XForms</bookmark_value>
45cdf0e10cSrcweir<bookmark_value>XForms;opening/editing</bookmark_value>
46cdf0e10cSrcweir<bookmark_value>editing;XForms</bookmark_value>
47cdf0e10cSrcweir<bookmark_value>opening;XForms</bookmark_value>
48cdf0e10cSrcweir</bookmark>
49cdf0e10cSrcweir   <comment>MW made a cross-reference of "XML Forms" and made a two level entry of "XForms"</comment>
50cdf0e10cSrcweir   <paragraph xml-lang="en-US" id="par_idN106E5" role="heading" level="1" l10n="NEW"><link href="text/shared/guide/xforms.xhp">XML Form Documents (XForms)</link></paragraph>
51cdf0e10cSrcweir   <paragraph xml-lang="en-US" id="par_idN106F5" role="paragraph" l10n="NEW">XForms are a new type of web form that was developed by the World Wide Web Consortium. The XForm model is defined in Extensible Markup Language (XML). The model uses separate sections to describe what a form does and what a form looks like. You can view the specification for XForms at: <link href="http://www.w3.org/MarkUp/Forms/">http://www.w3.org/MarkUp/Forms/</link>.</paragraph>
52cdf0e10cSrcweir
53cdf0e10cSrcweir  </section>
54cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN10746" role="heading" level="2" l10n="NEW">Working with XForms</paragraph>
55cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN1074A" role="paragraph" l10n="NEW">In %PRODUCTNAME, an XForms document is a special type of Writer document. The Design Mode for an XForm document has additional toolbars and panes. </paragraph>
56cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN1074D" role="paragraph" l10n="NEW">After you create and save an XForms document, you can open the document, fill out the form, and submit the changes to a server.</paragraph>
57cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN10774" role="paragraph" l10n="NEW"><comment>What's the role of UBL?</comment><comment>We do not officially support exporting to XHTML - but should be possible using XSLT</comment></paragraph>
58cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN10706" role="heading" level="2" l10n="NEW">To Create a New XForms Document</paragraph>
59cdf0e10cSrcweir  <list type="ordered">
60cdf0e10cSrcweir   <listitem>
61cdf0e10cSrcweir    <paragraph xml-lang="en-US" id="par_idN1070D" role="paragraph" l10n="NEW">Choose <emph>File - New - XML Form Document</emph>.</paragraph>
62cdf0e10cSrcweir    <paragraph xml-lang="en-US" id="par_idN10714" role="paragraph" l10n="NEW">The XForms design window opens in an empty Writer document.</paragraph>
63cdf0e10cSrcweir   </listitem>
64cdf0e10cSrcweir   <listitem>
65cdf0e10cSrcweir    <paragraph xml-lang="en-US" id="par_idN10718" role="paragraph" l10n="NEW">Design your form.</paragraph>
66cdf0e10cSrcweir   </listitem>
67cdf0e10cSrcweir  </list>
68cdf0e10cSrcweir  <list type="unordered">
69cdf0e10cSrcweir   <listitem>
70cdf0e10cSrcweir    <paragraph xml-lang="en-US" id="par_idN1071E" role="paragraph" l10n="NEW">Insert a control, select the default model in the property browser, and enter a binding statement.</paragraph>
71cdf0e10cSrcweir   </listitem>
72cdf0e10cSrcweir   <listitem>
73cdf0e10cSrcweir    <paragraph xml-lang="en-US" id="par_idN10722" role="paragraph" l10n="NEW">In the data navigator, add an element to the instance.</paragraph>
74cdf0e10cSrcweir   </listitem>
75cdf0e10cSrcweir   <listitem>
76cdf0e10cSrcweir    <paragraph xml-lang="en-US" id="par_idN10726" role="paragraph" l10n="NEW">Load a new instance from an XML file and add controls to the relevant XML elements or attributes.</paragraph>
77cdf0e10cSrcweir   </listitem>
78cdf0e10cSrcweir  </list>
79cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN10729" role="heading" level="2" l10n="NEW">To Open an XForms Document</paragraph>
80cdf0e10cSrcweir  <list type="unordered">
81cdf0e10cSrcweir   <listitem>
82cdf0e10cSrcweir    <paragraph xml-lang="en-US" id="par_idN10730" role="paragraph" l10n="NEW">Choose <emph>File - Open</emph> and select the XForms document. An XForm document has the same extension as a Writer text document (*.odt).</paragraph>
83cdf0e10cSrcweir   </listitem>
84cdf0e10cSrcweir  </list>
85cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN10737" role="heading" level="2" l10n="NEW">To Edit an XForms Document</paragraph>
86cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN1073B" role="paragraph" l10n="NEW">Open the XForms document and use the following toolbars and windows:</paragraph>
87cdf0e10cSrcweir  <list type="unordered">
88cdf0e10cSrcweir   <listitem>
89cdf0e10cSrcweir    <paragraph xml-lang="en-US" id="par_idN10741" role="paragraph" l10n="CHG"><link href="text/shared/main0226.xhp">Form Design toolbar</link></paragraph>
90cdf0e10cSrcweir   </listitem>
91cdf0e10cSrcweir   <listitem>
92cdf0e10cSrcweir    <paragraph xml-lang="en-US" id="par_idN10757" role="paragraph" l10n="NEW"><link href="text/shared/02/01170000.xhp">Form Controls toolbar</link></paragraph>
93cdf0e10cSrcweir   </listitem>
94cdf0e10cSrcweir   <listitem>
95cdf0e10cSrcweir    <paragraph xml-lang="en-US" id="par_idN1075F" role="paragraph" l10n="NEW"><link href="text/shared/01/xformsdata.xhp">Data Navigator</link></paragraph>
96cdf0e10cSrcweir   </listitem>
97cdf0e10cSrcweir   <listitem>
98cdf0e10cSrcweir    <paragraph xml-lang="en-US" id="par_idN1075B" role="paragraph" l10n="NEW"><link href="text/shared/02/01170600.xhp">Form Navigator</link></paragraph>
99cdf0e10cSrcweir   </listitem>
100cdf0e10cSrcweir  </list>
101cdf0e10cSrcweir  <paragraph xml-lang="en-US" id="par_idN10848" role="paragraph" l10n="NEW"><comment>UFI: currently only StarOffice can render and evaluate our XForms docs. Mozilla has announced a planned support recently. There may be plugins for other browsers. Should we tell the user?</comment></paragraph>
102cdf0e10cSrcweir </body>
103cdf0e10cSrcweir</helpdocument>
104