Show All

# importSource Element

Specifies all parameters to be used when merging a form of a specific XML Schema into a destination form.

## Type

    xsd:complexType

## Structure

Name | Description
--- | ---
name | (Required attribute) Identifies the name of the source form as defined in the processing instruction of that form’s underlying XML document.
schema | (Required attribute) Identifies the XML Schema file that should be used during the merge operation to validate the form being merged.
transform | (Required attribute) Identifies the .xslt file that should be used during the merge operation when the source form (the one that is being merged in) matches the XML Schema specified in the corresponding schema attribute.

## Remarks

The importSource element is an optional element of the importParameters element.

If the importSource element is not defined, the default .xslt file is used for all transformations during a merge operation.

## Example

The following is an example of the importSource element:

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

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp