| 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.EngineAssembly: Activsoft.Engine (in Activsoft.Engine.dll) Version: 6.0.0.0
Syntaxpublic XslCompiledTransform GetTransform(
string xslFilePath,
Config monConfig
)
Public Function GetTransform (
xslFilePath As String,
monConfig As Config
) As XslCompiledTransform
public:
virtual XslCompiledTransform^ GetTransform(
String^ xslFilePath,
Config^ monConfig
) sealed
abstract GetTransform :
xslFilePath : string *
monConfig : Config -> XslCompiledTransform
override GetTransform :
xslFilePath : string *
monConfig : Config -> XslCompiledTransform 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:
XslCompiledTransforma XslCompiledTransform ready to transform
Implements
IXslTransformGeneratorGetTransform(String, Config)
Exceptions
See Also