Share via


name Attribute (xDocumentClass Element)

Provides a unique, Uniform Resource Name (URN)–based name for the form that the form definition (.xsf) file defines.

Type

  xsd:string

Remarks

The name attribute is an optional attribute of the xDocumentClass element.

If this attribute is missing, the form is named from the Uniform Resource Locator (URL) or form definition file name, which can be obtained from the processing instructions of the form's underlying XML document.

Example

The following is an example of the name attribute as it is used in the xDocumentClass element:

  <xsf:xDocumentClass
   xmlns:xsf="http://schemas.microsoft.com/office/infopath/2003/solutionDefinition"
   name="urn:microsoft-com:myTravelReport"
   author="AuthorName"
   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">
   ...
</xsf:xDocumentClass>