Hi,
I have a CSV FILE
<ROOT>
"81","344","0143857003","3072143","2","XUC","ABC,DBE","dhf"
"81","344","0151564171","2914659","2","XYC","ABC,DEF","dsd"
</ROOT>
Now I am using a XSLT file to transform this data into XML from CSV. The issue is in case of "ABC,DBE" it is looking for the next comma...
I have an input xml which looks like this for 1 row
<ROOT>
<ROW RowNum="1">
<ClientId>ABC</ClientId>
<ContractId>XYZ</ContractId>
<plid>MMM</plid>
<ROw>
<ROW>
....
</ROW>
<ROW>.... </ROW>
mutliple rows
</ROOT>
using the above xsl this needs to transform into
<ROW>
<GROUP1>...
I am using stylus studio as my editor.
<?xml version='1.0' ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/ROOT">
<xsl:for-each select="ROW">
<Record>
<Group-RecordKey>
<SystemID>CCO</SystemID>
<LocationCode>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.