Create XML files using the XMLGenerator

Use the XMLGenerator to create XML files for your data beans.

  1. Install the data bean to XMLGenerator
    The XMLGenerator takes an already populated WebSphere Commerce data bean and prints out an XML file based on it. Since the XMLGenerator is going to print out an XML file based on real WebSphere Commerce data, you must install it into your WebSphere Commerce workspace.

  2. Generating an XML file using the data bean to XMLGenerator
    After you have installed the data bean to XMLGenerator, you can start generating XML files for your data beans.

  3. Set up the JSP viewer tool
    Before you can view store JSP pages in the JSP viewer, set up the JSP viewer tool.

  4. Configure the JSP viewer
    The Web controller in the JSP viewer provides JSP pages with linkages to other JSP pages. Without a WebSphere Commerce environment, the HTML links in the JSP pages would not work. The Web controller mimics WebSphere Commerce run time using a XML configuration file.

  5. Modifying the data bean location XML file
    After you have generated all of the required files for your data beans, modify the data bean location XML file in the JSP viewer tool workspace to account for the newly created XML files.

Related concepts

WebSphere Commerce JSP viewer