location Attribute

Microsoft Office InfoPath

Show All Show All

location Attribute

Contains the namespace Uniform Resource Identifier (URI) and location (a Uniform Resource Locator (URL), relative to the form definition (.xsf) file), and delimited by a space, of the .xsd file defining the XML Schema.

Type

      xsd:string
    

Remarks

The location attribute is a required attribute of the documentSchema element.

Non-namespace-based XML Schemas are listed with just the .xsd file, omitting the namespace declaration and the white space delimiter.

Example

The following is an example of the location attribute as it is used in the documentSchema element:

    <xsf:documentSchemas>
   <xsf:documentSchema
      location="urn:schema:custom:Namespace customFilename.xsd"
      rootSchema="yes"/>
</xsf:documentSchemas>