XSLTransform.TransformFromFile
Syntax:
Parameters:
<FileName> (required)
Name of file where the converted XML document is located.
<XMLRecord> (optional)
XML writing object for writing the conversion result. This parameter is worth specifying if the data are converted to an XML document.
If this parameter is specified, conversion results will be written to the object XMLWriter, in this case there will be no returned value.
Returned value:
Conversion results.
Description:
Availability:
Example:
Transform = New XSLTransform; Transform.LoadFromFile("c:/transforms/transform.xsl"); Transform.AddParameter("low_sales", 30000); Result = Transform.TransformFromFile("c:/docs/report.xml"); |