xmlWriter.writeTag(KettleDataFactoryModule.NAMESPACE, "argument", "datarow-name", argumentName, XmlWriter.CLOSE);
}
for (int i = 0; i < parameterMappings.length; i++)
{
final ParameterMapping parameterMapping = parameterMappings[i];
final AttributeList paramAttr = new AttributeList();
paramAttr.setAttribute(KettleDataFactoryModule.NAMESPACE, "datarow-name", parameterMapping.getName());
if (parameterMapping.getName().equals(parameterMapping.getAlias()) == false)
{
paramAttr.setAttribute(KettleDataFactoryModule.NAMESPACE, "variable-name", parameterMapping.getAlias());
}
xmlWriter.writeTag(KettleDataFactoryModule.NAMESPACE, "variable", paramAttr, XmlWriter.CLOSE);
}
xmlWriter.writeCloseTag();
}