# WebPartXslTransformTypeRegex

The SharePoint Remote Connector can apply an XSL transformation to web part content before adding it to the document metadata. You might want to use an XSL transformation to extract specific parts of the web part XML or manipulate its structure before it is added to the document.

To apply an XSL transformation, specify a list of regular expressions that identify types of web part to transform. When the type of a web part matches one of the regular expressions, the connector applies the transformation specified by the corresponding value in the WebPartXslTransformFilePath parameter.

You can specify multiple values by using numbered parameters (`WebPartXslTransformTypeRegex0`, `WebPartXslTransformTypeRegex1`, and so on). The number of values must match the number of values you set for the parameter WebPartXslTransformFilePath.

If you do not set this parameter, the connector adds all of the XML from a web part as the value of a single metadata field.

Type: | List of regular expressions
Default: |
Required: | No
Configuration Section: | TaskName or Fetchtasks
Example: |
    WebPartXslTransformTypeRegex0=.*FirstWebPartType.*
    WebPartXslTransformTypeRegex1=.*SecondWebPartType.*
    WebPartXslTransformFilePath0=./TransformForFirstType.xsl
    WebPartXslTransformFilePath1=./TransformForSecondType.xsl
See Also: | WebPartXslTransformFilePath

_FT_HTML5_bannerTitle.htm