1<?xml version="1.0" encoding="UTF-8"?>
2
3
4
5<!--***********************************************************
6 *
7 * Licensed to the Apache Software Foundation (ASF) under one
8 * or more contributor license agreements.  See the NOTICE file
9 * distributed with this work for additional information
10 * regarding copyright ownership.  The ASF licenses this file
11 * to you under the Apache License, Version 2.0 (the
12 * "License"); you may not use this file except in compliance
13 * with the License.  You may obtain a copy of the License at
14 *
15 *   http://www.apache.org/licenses/LICENSE-2.0
16 *
17 * Unless required by applicable law or agreed to in writing,
18 * software distributed under the License is distributed on an
19 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
20 * KIND, either express or implied.  See the License for the
21 * specific language governing permissions and limitations
22 * under the License.
23 *
24 ***********************************************************-->
25
26
27
28
29		<helpdocument version="1.0">
30<meta>
31<topic id="textsharedguidexformsxml" indexer="include" status="PUBLISH">
32<title xml-lang="en-US" id="tit">XML Form Documents (XForms)</title>
33<filename>/text/shared/guide/xforms.xhp</filename>
34</topic>
35</meta>
36<body>
37
38
39  <section id="xforms">
40
41
42<bookmark xml-lang="en-US" branch="index" id="bm_id5215613"><bookmark_value>web documents;XForms</bookmark_value>
43<bookmark_value>forms;XForms</bookmark_value>
44<bookmark_value>XML Forms, see XForms</bookmark_value>
45<bookmark_value>XForms;opening/editing</bookmark_value>
46<bookmark_value>editing;XForms</bookmark_value>
47<bookmark_value>opening;XForms</bookmark_value>
48</bookmark>
49   <comment>MW made a cross-reference of "XML Forms" and made a two level entry of "XForms"</comment>
50   <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>
51   <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>
52
53  </section>
54  <paragraph xml-lang="en-US" id="par_idN10746" role="heading" level="2" l10n="NEW">Working with XForms</paragraph>
55  <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>
56  <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>
57  <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>
58  <paragraph xml-lang="en-US" id="par_idN10706" role="heading" level="2" l10n="NEW">To Create a New XForms Document</paragraph>
59  <list type="ordered">
60   <listitem>
61    <paragraph xml-lang="en-US" id="par_idN1070D" role="paragraph" l10n="NEW">Choose <emph>File - New - XML Form Document</emph>.</paragraph>
62    <paragraph xml-lang="en-US" id="par_idN10714" role="paragraph" l10n="NEW">The XForms design window opens in an empty Writer document.</paragraph>
63   </listitem>
64   <listitem>
65    <paragraph xml-lang="en-US" id="par_idN10718" role="paragraph" l10n="NEW">Design your form.</paragraph>
66   </listitem>
67  </list>
68  <list type="unordered">
69   <listitem>
70    <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>
71   </listitem>
72   <listitem>
73    <paragraph xml-lang="en-US" id="par_idN10722" role="paragraph" l10n="NEW">In the data navigator, add an element to the instance.</paragraph>
74   </listitem>
75   <listitem>
76    <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>
77   </listitem>
78  </list>
79  <paragraph xml-lang="en-US" id="par_idN10729" role="heading" level="2" l10n="NEW">To Open an XForms Document</paragraph>
80  <list type="unordered">
81   <listitem>
82    <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>
83   </listitem>
84  </list>
85  <paragraph xml-lang="en-US" id="par_idN10737" role="heading" level="2" l10n="NEW">To Edit an XForms Document</paragraph>
86  <paragraph xml-lang="en-US" id="par_idN1073B" role="paragraph" l10n="NEW">Open the XForms document and use the following toolbars and windows:</paragraph>
87  <list type="unordered">
88   <listitem>
89    <paragraph xml-lang="en-US" id="par_idN10741" role="paragraph" l10n="CHG"><link href="text/shared/main0226.xhp">Form Design toolbar</link></paragraph>
90   </listitem>
91   <listitem>
92    <paragraph xml-lang="en-US" id="par_idN10757" role="paragraph" l10n="NEW"><link href="text/shared/02/01170000.xhp">Form Controls toolbar</link></paragraph>
93   </listitem>
94   <listitem>
95    <paragraph xml-lang="en-US" id="par_idN1075F" role="paragraph" l10n="NEW"><link href="text/shared/01/xformsdata.xhp">Data Navigator</link></paragraph>
96   </listitem>
97   <listitem>
98    <paragraph xml-lang="en-US" id="par_idN1075B" role="paragraph" l10n="NEW"><link href="text/shared/02/01170600.xhp">Form Navigator</link></paragraph>
99   </listitem>
100  </list>
101  <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>
102 </body>
103</helpdocument>
104