Programming with Reflection

image\rwnprg32.gif TransformXML method

 

Syntax object.TransformXML InputFile, TransformFile, OutputFile

 

Description

Converts an input XML file into a new file, using the instructions in the specified transform file.

Arguments

InputFile Argument type: String
The name of a file in XML format. Use a full path if the file is not in the current directory. See the note below for information about how to convert Reflection settings to XML format.

 

TransformFile Argument type: String
The name of an eXtensible Stylesheet Language (*.xsl) file that contains instructions for converting the file from XML format to a new format. The following *.xsl files are installed with Reflection to the Transforms/Ibm folder, which is located in your Reflection installation folder.

 

Ribmhtml.xsl

Converts Reflection settings in XML format to HTML format. You can use the output file to view setting information in a web browser.

Ribmxmltorsf.xsl

Converts Reflection settings in XML format to standard Reflection setting file format (*.rsf).

Ribmxmltorsfj.xsl

Converts Reflection settings in XML format to standard Reflection setting file format (*.rsf) suitable for double-byte systems.

Ribmxmltorweb.xsl

Converts Reflection settings in XML format into Reflection for the Web configuration files (*.config).

Ribmxmltovba.xsl

Converts Reflection settings in XML format to Visual Basic code that can be used to configure those settings.

Ribmsmltovbaj.xsl

Converts Reflection settings in XML format to Visual Basic code that can be used to configure those settings on a double-byte system.

Rwebxmltoribm.xsl

Converts Reflection for the Web configuration files (*.config) to Reflection settings in XML format.

 

OutputFile Argument type: String
The name of the output file. The file is saved to the current folder unless you provide path information.

Note

Use any of the following to create an XML file that contains Reflection settings information. Note that XML settings files do not include your Reflection macros.

· On the Reflection File menu, click Save As, then set Save as type to "XML settings."

· Use the SaveXML method. This method allows you to specify whether you want to specify all your current Reflection settings, or a particularly subset of your settings.

· Use the SaveSettings method and set Type to rcXMLSettingsFile.

 

image\jump.gif Example

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command