cancel
Showing results for 
Search instead for 
Did you mean: 

Filling Mailpackage to send CSV Data - <crlf> Problem (SP14)

Former Member
0 Kudos

Hi all,

I am using the mail receiver adapter with Mailpackage on SP14 and therefore I want to fill the <content>-Tag. My problem is, I have to fill several lines (CSV-Data) in <content> and don't know, how to build the carriage return linefeed's within my XSLT-Mapping. I tried it with

<xsl:text>&#xa;</xsl:text> within the node, but the mail adapter came up with a unprintable sign.

Somebody outthere who solved that problem?

Thanks and regards.

Daniel

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Daniel,

If you search this forum using the words "carriage return" you will find numerous hits on this. I had to add a carraige return line feed to a file that I was ftp'ing to a customer. On this forum I found the help using a simple XSLT mapping. Here is the code.

<?xml version="1.0" encoding="UTF-8"?>

<!--

XI Mapping StyleSheet

Name: IdentityTransform.xsl

-->

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="xml" indent="yes"/>

<!-- Identity Transform

Copy the source XML to the output without any changes -->

<xsl:template match="node() | @*">

<xsl:copy>

<xsl:apply-templates select="node() | @*"/>

</xsl:copy>

</xsl:template>

</xsl:stylesheet>

Anyway, if this doesn't work, search the forum and you should find somehting that will work.

Best regards,

Jim

stefan_grube
Active Contributor
0 Kudos

Yes, it is indeed a good idea to search.

But you have to change default (90 days) to a longer period.

Here are two suggestions by me:

XSLT:

Graphical Mapping Tool:

Regards

Stefan

Answers (0)