Click or drag to resize

IDynamicTransformationEngineTransform Method

Transforms an XDocument with MSXML4, returns the result stream, and outputs the content type. Make sure to set the SitePath before calling Transform with a page request.

Namespace:  Ingeniux.Runtime
Assembly:  IGXRuntimeAPI (in IGXRuntimeAPI.dll) Version: 10.6.308
Syntax
string Transform(
	CMSPageRequest pageRequest,
	out string contentType,
	string overrideStylesSheetFullPath = null,
	bool publishMode = false
)

Parameters

pageRequest
Type: CMSPageRequest
The page request to be rendered by a legacy transformation
contentType
Type: SystemString
Outputs the content type of the transformation result
overrideStylesSheetFullPath (Optional)
Type: SystemString
The Override path of xslt stylesheet
publishMode (Optional)
Type: SystemBoolean
Publish with content type as "text/publishedContent"

Return Value

Type: String
Document as String
See Also