Programming with Reflection
TransformSettingstoHTML property
Syntax |
object.TransformSettingstoHTML |
Data type |
Returns (first syntax line) or specifies (second syntax line) the file name and path of a transform file that allows you to view Reflection settings as formatted HTML documents in Internet Explorer.
By default this setting identifies a transform file (RibmHtml.xsl) which is installed when you install Reflection. When this transform is used, a Reflection settings file that has been saved as XML is displayed as formatted HTML when you open it using Internet Explorer.
When this property is set to an empty string, a Reflection settings file that has been saved as XML is displayed using Internet Explorer's standard XML format.
· To save Reflection settings files in XML format programmatically, use the SaveXML method. To use the Reflection menus, select File > Save As > Save as type > XML Settings.
· The RibmHtml.xsl file requires IE 6.0 or higher.
· When this setting is not blank, Reflection inserts a line identifying the specified transform when you save an XML settings file. For example:
<?xml:stylesheet type="text/xsl" href="C:\Program Files\Attachmate\Reflection\Transforms\IBM\RibmHtml.xsl"?>
The default value is "RibmHtml.xsl". The maximum string length is 260 characters. You can specify an absolute path, a UNC path, or use no path, as shown in these examples:
Absolute path:
Session.TransformRwebtoXML = C:\Mypath\RibmHtml.xsl
UNC path:
Session.TransformRwebtoXML = \\Mysever\Mypath\RibmHtml.xsl
No path:
When no path is given, Reflection looks in the \Transforms\IBM subfolder of your Reflection installation folder. If you have installed Reflection to the default location, then the default value for this property (RibmHtml.xsl) identifies the following file and location:
C:\Program Files\Attachmate\Reflection\Transforms\IBM\RibmHtml.xsl
When no path is given, Reflection looks in the \Transforms\IBM subfolder of your Reflection