on 10-18-2010 6:47 PM
Hi all,
I am using a XSLT mapping to ocnvert input XMl into flat file.Evrything seems to be working fine expect when Korean, Chinese, Vientam, etc characters are coming in the input file.
I think the above mentioned characters are occupying 2 bytes in the flat file due to which the position of the next field got misplaced in the flat file.
I tried with different unciode options in the following XSLT mapping.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="urn:hsbc:a2r:corp:global:fi:paymentservice">
<xsl:output method="text" omit-xml-declaration="yes" encoding="UTF-8"/>
<xsl:template match="/">
<ns0:PS>
<Details>
<xsl:for-each select="ns0:PaymentService/Details">
<FileData>
<xsl:value-of select="FileData"/>
</FileData>
</xsl:for-each>
</Details>
</ns0:PS>
</xsl:template>
</xsl:stylesheet>
Not sure which encoding should be used here...
> Not sure which encoding should be used here...
Ask your customer or project lead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.