File: xsfelmxDocumentClass.htm

package info (click to toggle)
office2003-schemas 1.0%2Bds-1
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm, forky, sid, trixie
  • size: 42,304 kB
  • sloc: javascript: 2,429; makefile: 29
file content (109 lines) | stat: -rw-r--r-- 12,341 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<html dir="ltr"><head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META HTTP-EQUIV="assetid" CONTENT="HV01021517"><META NAME="lcid" CONTENT="1033"><title>xDocumentClass Element</title><link rel="stylesheet" type="text/css" href="office10.css"><script type="text/javascript" language="Javascript" src="ExpCollapse.js"></script><script type="text/javascript" language="JavaScript" src="inline.js"></script></head><body><p id="ExpandAllLine" class="ExpFav"><a href="#" onclick="ExpandAll()" onkeypress="ExpandAll()" class="DropDown"><img id="picHeader" border="0" src="expandtri.gif" alt="Show All"><span id="ExpandAll">Show All</span></a></p><h1>xDocumentClass Element</h1><div class="ofvbanav"><span class="ofvbanavreuse" id="seealso" onclick="toggleList()" onkeypress="toggleList()"></span><span class="ofvbanavreuse" id="parentelements" onclick="toggleList()" onkeypress="toggleList()"></span><span class="ofvbanavreuse" id="childelements" onclick="toggleList()" onkeypress="toggleList()"></span><span class="ofvbanavreuse" id="attributeslinks" onclick="toggleList()" onkeypress="toggleList()"></span></div><p>The root element of the <a href="#" class="glossary" onclick="AppendPopup(this,'xdformdefinitionfilexsf')" onkeypress="AppendPopup(this,'xdformdefinitionfilexsf')">form definition (.xsf) file</a> file. Contains all other <a href="#" class="glossary" onclick="AppendPopup(this,'xdxmlelement')" onkeypress="AppendPopup(this,'xdxmlelement')">elements</a> and <a href="#" class="glossary" onclick="AppendPopup(this,'xdxmlattribute')" onkeypress="AppendPopup(this,'xdxmlattribute')">attributes</a> of the .xsf file.</p><h2>Type</h2><p><pre><code>xsd:complexType</code></pre></p><h2>Structure</h2><table>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
      
      <tr>
        <td><b class="bterm"><a href="xsfatrauthor.htm" id="HV01021525" lcid=" ">author</a></b></td>
        <td>(Optional attribute) Identifies the author of the form.</td>
      </tr>
      <tr><td><b class="bterm"><a href="xsfatrdataFormSolution.htm" id="HV01021541" lcid=" ">dataFormSolution</a></b></td><td>(Optional attribute) Identifies the form as a database form.</td></tr><tr>
        <td><b class="bterm"><a href="xsfatrdescription.htm" id="HV01021543" lcid=" ">description</a></b></td>
        <td>(Optional attribute) A brief description of the form.</td>
      </tr>
      <tr><td><b class="bterm"><a href="xsfatrname_1.htm" id="HV01021569" lcid=" ">name</a></b></td><td>(Optional attribute) Provides a unique, <a href="#" class="glossary" onclick="AppendPopup(this,'ofuniformresourcenameurn')" onkeypress="AppendPopup(this,'ofuniformresourcenameurn')">Uniform Resource Name (URN)</a>–based name for the form that the .xsf file defines.</td></tr><tr><td><b class="bterm"><a href="xsfatrproductVersion.htm" id="HV01021589" lcid=" ">productVersion</a></b></td><td>(Optional attribute) Identifies the version number of InfoPath with which the form has been created or for which a particular form is intended.</td></tr><tr><td><b class="bterm"><a href="xsfatrpublishUrl.htm" id="HV01038081" lcid=" ">publishUrl</a></b></td><td>(Optional attribute) Identifies where the form was published and where the form template should download updates from.
</td></tr><tr><td><b class="bterm"><a href="xsfatrrequireFullTrust.htm" id="HV01038080" lcid=" ">requireFullTrust</a></b></td><td>(Optional attribute) Allows the form to run as a fully trusted form when a form template is registered or signed with a certificate.</td></tr><tr><td><b class="bterm"><a href="xsfatrsolutionFormatVersion.htm" id="HV01038079" lcid=" ">solutionFormatVersion</a></b></td><td>(Required attribute) Identifies the version number that represents the format of the .xsf file.</td></tr><tr>
        <td><b class="bterm"><a href="xsfatrsolutionVersion.htm" id="HV01021608" lcid=" ">solutionVersion</a></b></td>
        <td>(Optional attribute) Identifies the version number of the form.</td>
      </tr>
      
      
      <tr><td><b class="bterm"><a href="xsfatrxmlns.htm" id="HV01048696" lcid=" ">xmlns</a></b></td><td>(Required attribute) Defines the <b class="bterm"><a href="xsfnspxsf.htm" id="HV01038074" lcid=" ">xsf</a></b> namespace.</td></tr><tr>
        <td><b class="bterm"><a href="xsfelmapplicationParameters.htm" id="HV01021459" lcid=" ">applicationParameters</a></b></td>
        <td>(Optional element) Contains form-specific properties that describe how a form should be used in InfoPath <a href="#" class="glossary" onclick="AppendPopup(this,'xddesignmode')" onkeypress="AppendPopup(this,'xddesignmode')">design mode</a>.</td>
      </tr>
      <tr>
        <td><b class="bterm"><a href="xsfelmcustomValidation.htm" id="HV01021463" lcid=" ">customValidation</a></b></td>
        <td>(Optional element) Defines rule-based custom validation on top of all validation enforced through the <a href="#" class="glossary" onclick="AppendPopup(this,'OfXmlSchemas')" onkeypress="AppendPopup(this,'OfXmlSchemas')">XML Schema</a>.</td>
      </tr>
      <tr>
        <td><b class="bterm"><a href="xsfelmdataObjects.htm" id="HV01021465" lcid=" ">dataObjects</a></b></td>
        <td>(Optional element) Defines all secondary data objects used in an InfoPath form. </td>
      </tr>
      <tr>
        <td><b class="bterm"><a href="xsfelmdocumentSchemas.htm" id="HV01021467" lcid=" ">documentSchemas</a></b></td>
        <td>(Optional element) Defines the XML Schemas that the InfoPath form is designed to handle.</td>
      </tr>
      <tr>
        <td><b class="bterm"><a href="xsfelmdocumentSignatures.htm" id="HV01021468" lcid=" ">documentSignatures</a></b></td>
        <td>(Optional element) Defines the location of the digital signature XML <a href="#" class="glossary" onclick="AppendPopup(this,'ofdocumentobjectmodeldom')" onkeypress="AppendPopup(this,'ofdocumentobjectmodeldom')">Document Object Model (DOM)</a> node within the form's underlying XML document.</td>
      </tr>
      <tr>
        <td><b class="bterm"><a href="xsfelmdocumentVersionUpgrade.htm" id="HV01038076" lcid=" ">documentVersionUpgrade</a></b></td>
        <td>(Optional element) Defines how forms created with an older version of the <a href="#" class="glossary" onclick="AppendPopup(this,'xdformtemplate')" onkeypress="AppendPopup(this,'xdformtemplate')">form template</a> can be upgraded to the latest version of the form template.</td>
      </tr>
      <tr>
        <td><b class="bterm"><a href="xsfelmdomEventHandlers.htm" id="HV01021470" lcid=" ">domEventHandlers</a></b></td>
        <td>(Optional element) Contains pointers to various script-based <a href="#" class="glossary" onclick="AppendPopup(this,'xdeventhandler')" onkeypress="AppendPopup(this,'xdeventhandler')">event handlers</a> that react to changes in XML DOM nodes of a form's underlying XML document while the form is being filled out.</td>
      </tr>
      <tr>
        <td><b class="bterm"><a href="xsfelmextensions.htm" id="HV01038077" lcid=" ">extensions</a></b></td>
        <td>(Optional element) Includes minor upgrades to the InfoPath .xsf file that can be used by future releases of InfoPath or by specific forms.</td>
      </tr>
      <tr>
        <td><b class="bterm"><a href="xsfelmfileNew.htm" id="HV01021479" lcid=" ">fileNew</a></b></td>
        <td>(Optional element) Provides a reference to an .xml  file containing sample data, to be loaded when a user chooses to create a new form based on the form template.</td>
      </tr>
      <tr>
        <td><b class="bterm"><a href="xsfelmimportParameters.htm" id="HV01021483" lcid=" ">importParameters</a></b></td>
        <td>(Optional element) Contains all the parameters that define how the import (merge) forms feature works for the form.</td>
      </tr>
      <tr>
        <td><b class="bterm"><a href="xsfelmlistProperties.htm" id="HV01021487" lcid=" ">listProperties</a></b></td>
        <td>(Optional element) Identifies the  properties that should be on a list view of all forms belonging to a form template.</td>
      </tr>
      <tr>
        <td><b class="bterm"><a href="xsfelmpackage.htm" id="HV01021493" lcid=" ">package</a></b></td>
        <td>(Required element) Contains information about all of the files used in an InfoPath form.</td>
      </tr>
      <tr><td><b class="bterm"><a href="xsfelmquery.htm" id="HV01021497" lcid=" ">query</a></b></td><td>(Optional element) Associates a <a href="#" class="glossary" onclick="AppendPopup(this,'xddataadapter')" onkeypress="AppendPopup(this,'xddataadapter')">data adapter</a> with the form's underlying XML document.</td></tr><tr>
        <td><b class="bterm"><a href="xsfelmschemaErrorMessages.htm" id="HV01021499" lcid=" ">schemaErrorMessages</a></b></td>
        <td>(Optional element) Contains custom error messages used to override XML Schema data type errors.</td>
      </tr>
      <tr>
        <td><b class="bterm"><a href="xsfelmscripts.htm" id="HV01021501" lcid=" ">scripts</a></b></td>
        <td>(Optional element) Defines the source of all business logic scripts used at the document level in the form.</td>
      </tr>
      <tr>
        <td><b class="bterm"><a href="xsfelmsubmit.htm" id="HV01021503" lcid=" ">submit</a></b></td>
        <td>(Optional element) Contains information about the submission functionality of a form.</td>
      </tr>
      <tr>
        <td><b class="bterm"><a href="xsfelmtaskpane.htm" id="HV01021505" lcid=" ">taskpane</a></b></td>
        <td>(Optional element) Defines a <a href="#" class="glossary" onclick="AppendPopup(this,'xdcustomtaskpane')" onkeypress="AppendPopup(this,'xdcustomtaskpane')">custom task pane</a> to be used in an InfoPath form.</td>
      </tr><tr><td><b class="bterm"><a href="xsfelmviews.htm" id="HV01021514" lcid=" ">views</a></b></td><td>(Required element) Defines all of the  views that have been implemented in an InfoPath form.</td></tr><tr><td><b class="bterm"><a href="xsfatrtrustLevel_HV01107645.htm" id="HV01107645" lcid=" ">trustLevel</a></b></td><td>(Optional attribute) Specifies the trust level of a form.</td></tr><tr><td><b class="bterm"><a href="xsfatrtrustSetting_HV01107646.htm" id="HV01107646" lcid=" ">trustSetting</a></b></td><td>(Optional attribute) Specifies the trust setting of a form.</td></tr>
    </table><h2>Remarks</h2><p>The <b class="bterm">xDocumentClass</b> element is a required element and must be present in the InfoPath .xsf file.</p><p>The attributes that are contained within the <b class="bterm">xDocumentClass</b> element are collectively called the global metadata section. The global metadata section of the .xsf file is a required section that contains global information about the InfoPath form. </p><h2><a id="#example" name="#example">Example</a></h2><p>The following is an example of the <b class="bterm">xDocumentClass</b> element:</p><pre><code>xsf:<b class="bterm">xDocumentClass</b>
   xmlns:xsf="http://schemas.microsoft.com/office/infopath/2003/solutionDefinition"
   name="urn:schemas-microsoft-com:myTravelReport"
   author="Frank Miller"
   description="Travel Report form for entering travel reports, issues, expenses, etc."
   dataFormSolution="yes"
   solutionVersion = "1.0.0.1"
   productVersion="11.0.5106"
   solutionFormatVersion="1.0.0.0"&gt;
   dataFormSolution="yes"
   requireFullTrust="yes"
   trustLevel="restricted"
   trustSetting="manual"
   publishUrl="http://www.contoso.com/InfoPathTemplates/MyTemplate.xsn"&gt;
   ...
&lt;/xsf:<b class="bterm">xDocumentClass</b></code></pre><script type="text/javascript" language="JScript" src="ofvbanl.js"></script><span id="ofVBAISpan" class="ofvbaispan"><iframe id="ofVBAIFrame" frameborder="0" marginheight="0" marginwidth="4" scrolling="auto" width="100%" src="../links/xsfelmxDocumentClass_l.htm"></iframe></span><center><a href="XMLSchemaCopyright_HV01147162.htm">&copy;2003-2004 Microsoft Corporation. All rights reserved.</a>  

Permission to copy, display and distribute this document is available at: <a 

href="http://r.office.microsoft.com/r/rlidAWSContentRedir?AssetID=XT010988631033&amp;CTT=11&amp;Origin=HV011232471033" 

target="_new">http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp</a></center></body></html>