Show TOC

Defining the XML TransformationLocate this document in the navigation structure

Context

Once you have defined the iView's URL to the XML source on the Web, you need to specify how the input XML source is handled. This requires you do the following:

  1. Select at least one XML transformer.

    An XML transformer supports a specific input XML format and an output format. You can only choose XML transformers which are made available to you in the XML iView Wizard and Editor.

    SAP supplies standard XML transformers with the portal that support specific XML formats (see Standard XML Transformers and Parameters ). In addition, your organization can create custom-made XML transformers to support other XML formats (see Transformation Service in the Portal Developer Guide).

    Note

    The XML iView Wizard allows you to select only a single XML transformer; although the XHTMLB-to-HTMLB Transformer transformer is subsequently added when you select a transformer whose output format is XHTMLB. In the XML iView Editor, you can choose multiple XML transformers to define a linear transformation of several formats. This is referred to as a transformation pipe .

    Typically, the last output format should be HTMLB.

  2. Configure the parameters associated with each XML transformer you have selected.

    Each XML transformer specifies its own parameters. The parameters enable you to customize the XML transformation. Some XML transformers may not offer any parameters to configure.

    Note

    The XML iView Wizard does not allow you to configure XML transformer parameters. This is only possible in the XML iView Editor.

Procedure


  1. In the XML iView Editor, select the Configure XML Transformation option to display a list of available XML transformers, an area to which you add and define the order of XML transformers you have selected, and a set of configurable parameters for each XML transformer.

  2. Choose the XML transformers applicable to the format of the input XML source and that of the desired output format. Do the following:

    1. In the Available XML Transformers drop-down menu, choose an XML transformer, and then click Add . The selected XML transformer is added to the end of the current list.

    2. To remove an XML transformer from the list, choose it in the list, and then click Remove .

    3. To change the position of an XML transformer in the transformation pipe, choose it in the list and then click either Move Up or Move Down , as needed. The sequence of the transformation pipe is from top to bottom.

  3. Configure the parameters of each XML transformer you have selected. Do the following:

    1. Choose an XML transformer; its parameters (if any) are displayed to the right under XML Transformer Parameters .

    2. In the Value column, define each parameter, as needed. Parameters values may be integers, text-based, or have pre-defined values. The parameters for the standard XML transformers supplied by SAP are described in the relevant sub-topics under Standard XML Transformers and Parameters .

    Note
    • If the XML transformer does not assign a default value to a parameter, " (none) " is displayed in the Value column.

    • If the default value for a parameter is dependant on the XML source or can only be determined at runtime, " (complex value) " is displayed in the Value column.