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