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
)
Function Transform (
pageRequest As CMSPageRequest,
<OutAttribute> ByRef contentType As String,
Optional overrideStylesSheetFullPath As String = Nothing,
Optional publishMode As Boolean = false
) As String
String^ Transform(
CMSPageRequest^ pageRequest,
[OutAttribute] String^% contentType,
String^ overrideStylesSheetFullPath = nullptr,
bool publishMode = false
)
abstract Transform :
pageRequest : CMSPageRequest *
contentType : string byref *
?overrideStylesSheetFullPath : string *
?publishMode : bool
(* Defaults:
let _overrideStylesSheetFullPath = defaultArg overrideStylesSheetFullPath null
let _publishMode = defaultArg publishMode false
*)
-> string
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:
StringDocument as String
See Also