Skip to Content
Former Member
Oct 18, 2006 at 07:42 AM

Mail Adapter :: eMail Reporting



I am creating one scenario using following weblog :


But in my mail I am getting the Headings but not the values which I am providing through my XML file.

I even deleted all the fomatting elements but still the same thing.

My XSLT file is like this now ...


?xml version='1.0'?>">

<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>

<xsl:template match="/">">

<Subject>Deliveries from XI</Subject>

<From><i>MY EMAIL ID</i></From>

<To><i>My EMAIL ID</i></To>



<xsl:text xsl:space="preserve">Catalog of CDs available:</xsl:text>

<xsl:text xsl:space="preserve">Title</xsl:text>

<xsl:text xsl:space="preserve">Artist</xsl:text>

<xsl:text xsl:space="preserve">Country</xsl:text>

<xsl:text xsl:space="preserve">Company</xsl:text>

<xsl:text xsl:space="preserve">Price</xsl:text>

<xsl:text xsl:space="preserve">Year</xsl:text>

<xsl:for-each select="Catalog_MT/cd">

<xsl:value-of select="title"/>

<xsl:value-of select="artist"/>

<xsl:value-of select="country"/>

<xsl:value-of select="company"/>

<xsl:value-of select="price"/>

<xsl:value-of select="year"/>







My XML file is this

<?xml version="1.0" encoding="ISO-8859-1" ?>

- <ns0:Catalog_MT xmlns:ns0="urn:Reporting">

- <cd>

<title>Empire Burlesque</title>

<artist>Bob Dylan</artist>






- <cd>

<title>Hide your heart</title>

<artist>Bonnie Tyler</artist>


<company>CBS Records</company>






I am getting the output like this in my Mail Body -->

<i><b>Catalog of CDs available:TitleArtistCountryCompanyPriceYear</b></i>

I am not so good in XSLT. Can you pls. suggest what am I missing.


- Lalit -