Reference > Utilities


xmltransform utility


Overview

The xmltransform utility changes, aggregates, and remaps the data in an XML document to alternative XML formats for use by other users or systems as needed.

Before running this utility, ensure that you have complete the required configuration tasks:

  1. Configure the environment variable setting scripts.

  2. Configure tracing and logging for the loading utilities.

Filenames specified as parameters for this utility can be preceded by relative or absolute paths. Relative paths must be relative to the directory from which you run the xmltransform utility.

In addition to the trace log and message log for the loading utilities, this utility produces the following log file:

Run this utility as the non-root WebSphere Commerce user ID. Do not run this command as root.


Utility command

The xmltransform utility has the following file name:


Parameter values

-infile Name of the file to be transformed
-transform Name of the transform XSL rule file
-outfile Name for the output XML file in which the transformed data will be stored
-param Parameter to be passed to the XSL rule file. This parameter is optional. This parameter can be specified multiple times to pass multiple "name=value" pairs.


Example

The following example transforms the data in MemberSubsystemExtracted.xml using MemberSubsystem.xsl as the transform XSL rule file with Japanese as the national language:


Related concepts

Overview of the mass load utilities
Transforming, loading, and extracting data using the WebSphere Commerce loading utilities


Related tasks

Configure the environment variable setting scripts
Transforming XML data

Related reference

dtdgen utility
massextract utility
idresgen utility
massload utility (Server environment)
txttransform utility


+

Search Tips   |   Advanced Search