Developing an XSL transformation

If the data source outputs the XML data in a different XML structure from that of the Inxmail Smart Template, we recommend the following procedure for creating your XSL transformation.

Note: When creating XSL transformations, use only functions of the XSLT 1.0 specification.

  1. Copy the relevant template element into a text editor.

    (See section Showing the XML structure of template elements.)

  2. Delete the XML attributes (‘lang’, ‘auto-generate’, ‘orientation’, and so on).

  3. Create the XSL transformation based on the copied XML data.

    To read out the contents of the XML data provided by the Web application, use the XSL <xsl:value-of> command.

    Copy
    <?xml version="1.0" encoding="UTF-8" ?>
    <article>
        <Name>Artikel-Titel</Name>
        <ImageUrl>http://placehold.it/180</ImageUrl>
        <Description>Die Beschreibung des Artikels
        </Description>
        <Link>http://www.inxmail.de</Link>
        <Price>3,99</Price>
    </article>