schema Attribute (importSource Element)

Microsoft Office InfoPath

Show All Show All

schema Attribute (importSource Element)

Identifies the XML Schema file that should be used during the merge operation to validate the form being merged.

Type

      xsf:xdFileName
    

Remarks

The schema attribute is a required attribute of the importSource element.

If the source document to be merged belongs to the specified schema, the specified parameters are used for meging into the current form. If the schema attribute is not specified, a "Schema XSD not found" error is returned.

Example

The following is an example of the schema attribute as it used in the importSource element:

    <xsf:importParameters
   enabled="yes"
   <xsf:importSource
      name="My Form"
      schema="MySchema.xsd"
      transform="schematransform.xslt"/>
</xsf:importParameters>