on 01-10-2007 3:53 PM
hi
my scenarion is JMS -> XI -> MAIL
I used content conversion to transform the XML to flat file
does any body know if I can change the indiation text from left-right to right to left with one of the paramters in the content conversion?
thx,shai
I found this:
http://www.ietf.org/rfc/rfc1556.txt
Maybe you can apply:
Content-type: text/plain; charset=ISO-8859-8-i
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The mail has wrong encoding (signs) and is aligned left.
So I cannot see what is necessary to have the mail correct.
The only idea I have left is creating an HTML mail, if that be OK for this process.
Add this string at begin:
<HTML><HEAD><META http-equiv="Content-Type" content="text/html; charset=utf-8"></HEAD><BODY <b>dir="rtl"</b>>
and this string at end of the message
</BODY></HTML>
Set the content type of the mail to text/html.
Regards
Stefan
Try this:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="UTF-8" indent="no" />
<xsl:template match="/">
<html>
<head />
<body dir="rtl">
<xsl:for-each select="//Text">
<xsl:value-of select="." disable-output-escaping="yes" />
<br />
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
This should work with the XML which you have provided. You need no content conversion when you use XSLT.
Regards
Stefan
Are the strings inside the XML in correct order?
Then why not just reverse the tags in the XML?
If not, then I don't see any solution in standard.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this is the XML
<?xml version="1.0" encoding="utf-8"?>
<FI_Hashav_Mail_MT>
*********<Line>
******************<Text>אפי</Text>
******************<Text>שי רוזנצויג</Text>
******************<Text>שי רוזנצויג</Text>
*********</Line>
</FI_Hashav_Mail_MT>
this is the MAIL
אפי
שי רוזנצויג
שי רוזנצויג
should b
*********************************************************************************אפי
שי רוזנצויג
שי רוזנצויג
( * are equal to spaces)
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.