XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
David StegnitzSubject: XSLT code to transform CSV type of XML EDIFACT strings into XML nodes
Author: David Stegnitz
Date: 19 Nov 2015 06:43 PM
Dear all, is there any option in your tool to generate an XSLT 1.0 code, which will convert an EDIFACT string containing CSV type converted file into XML? As follows an example of what I get if I import an EDIFACT file into my processing server, now I need either to generate an XSLT code or alternative T-SQL query which will transform the following into a proper XML:

<row xmlns="">
<col>
UNB+UNOA:2+5450534000000:14+11223344:01+151118:0750+4++++1+EANCOM
</col>
<col>UNH+1+ORDERS:D:96A:UN:EAN008</col>
<col>BGM+220+T0000001+9</col>
<col>DTM+137:20151118:102</col>
<col>DTM+63:20151125:102</col>
<col>DTM+64:20151118:102</col>
<col>RFF+ADE:firstorder</col>
<col>NAD+BY+5450534000024::9</col>
<col>NAD+SU+11223344::9</col>
<col>NAD+DP+5450534000116::9+++++++GB</col>
<col>
NAD+IV+5450534005814::9++AMAZON EU SARL, UK BRANCH+60 HOLBORN VIADUCT+LONDON++EC1A 2FD+GB
</col>
<col>RFF+VA:GB727255821</col>
<col>CUX+2:GBP:9</col>
<col>LIN+1</col>
<col>PIA+5+12345:SA</col>
<col>QTY+21:3</col>
<col>PRI+AAA:1</col>
<col>LIN+2</col>
<col>PIA+5+556677:SA</col>
<col>QTY+21:36</col>
<col>PRI+AAA:2</col>
<col>LIN+3</col>
<col>PIA+5+12345:SA</col>
<col>QTY+21:3</col>
<col>PRI+AAA:1</col>
<col>LIN+4</col>
<col>PIA+5+12345:SA</col>
<col>QTY+21:3</col>
<col>PRI+AAA:1</col>
<col>UNS+S</col>
<col>CNT+2:4</col>
<col>UNT+31+1</col>
<col>UNZ+1+4</col>
<col/>
</row>

Posttop
Ivan PedruzziSubject: XSLT code to transform CSV type of XML EDIFACT strings into XML nodes
Author: Ivan Pedruzzi
Date: 19 Nov 2015 06:57 PM
David,

Our products offer an excellent solution to either transforming EDIFACT to XML or importing EDIFACT into relational.

I will contact you offline to gather more information

Ivan Pedruzzi
Stylus Studio Team

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.