How InfoPath uses XML technologies

Microsoft Office InfoPath

Show All Show All

How InfoPath uses XML technologies

Microsoft Office InfoPath 2003 makes use of a variety of XML technologies, including XSLT, XML Schemas, XHTML, XPath, the DOM, XML Signatures, and an XML processor that works with all of these technologies. These technologies are governed by the World Wide Web Consortium (W3C), which recommends a specific set of rules, guidelines, and conventions for producing files that are easy to generate and process by different computers and applications. In addition to the XML technologies that Office InfoPath 2003 supports, Office InfoPath 2003 also makes use of special processing instructions and namespaces and has a number of methods for accessing the DOM through the Office InfoPath 2003 object model.

Office InfoPath 2003 is a Microsoft Windows–based application that is used to create forms based on XML and its associated technologies. While it is not necessary to understand all of the details of these XML technologies, the following table will help you understand how they are used within Office InfoPath 2003.

NameDescription
XMLXML is the output format that is produced by an Office InfoPath 2003 form. XML is also used to contain the sample data that is displayed in the fields of a form before a user fills it out.
XSLTXSLT is the format of the view files that are produced when a form is designed. Office InfoPath 2003 does not support the use of XSL Formatting Objects (XSL-FO) for the presentation of XML data, nor does it support importing of arbitrary .xsl files.
XML SchemaXML Schemas are used as the primary means of data validation within a form, and they provide the underlying structure of the XML document that is to be produced by the form. In addition, an XML Schema is used to define the structure of the form definition (.xsf) file that is generated by Office InfoPath 2003 when a form is designed. Office InfoPath 2003 does not support the use of XML-Data Reduced (XDR) or Document Type Definition (DTD) for defining the schema of XML documents.
XHTMLXHTML is well-formed HTML, and is primarily used when developing rich text areas.
XPathXPath expressions are used for binding controls to a form, as well as for data validation and conditional formatting expressions.
DOMThe DOM is used to programmatically access the contents of the source XML document that a form produces. It is also used to provide read-only access to the contents of the .xsf file.
XML SignatureXML Signatures are used to digitally sign forms created by Office InfoPath 2003. Each Office InfoPath 2003 form can contain one or more digital signatures. Office InfoPath 2003 does not support digital signing of portions of a form, only the form as a whole.
XML processorThe XML processor is used to load the source XML of a document into memory, validate it using the XML Schema, and produce the view of the document using XSLT. The XML processor supported by Office InfoPath 2003 is Microsoft XML Core Services (MSXML) 5.0. Earlier versions of this processor are not supported.