Click or drag to resize
CachedXslTransformGeneratorGetTransform Method
If the file is already in the cache, returns the XslCompiledTransform, else compiles the stylesheet, puts it into the cache, and returns it.

Namespace: Activsoft.Engine
Assembly: Activsoft.Engine (in Activsoft.Engine.dll) Version: 6.0.0.0
Syntax
public XslCompiledTransform GetTransform(
	string xslFilePath,
	Config monConfig
)

Parameters

xslFilePath
Type: SystemString
The xslt file path, relative to monConfig.XslPath.
monConfig
Type: Activsoft.EngineConfig
The Config object holding the XsltPath from which to load the file.

Return Value

Type: XslCompiledTransform
a XslCompiledTransform ready to transform

Implements

IXslTransformGeneratorGetTransform(String, Config)
Exceptions
ExceptionCondition
IOExceptionIf the file doesn't exist
See Also