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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1168)
+ Stylus Studio Technical Forum (14399)
+ Website Feedback (244)
- XSLT Help and Discussion (7588)
-> + Use of before and after string (3) Sticky Topic
-> + Create Acroforms with Stylus X... (2)
-> + How to change XSLT parameter s... (3)
-> - how to change format of the da... (1)
-> + Search "Next 8 Results " doesn... (2)
-> - Support for Git (1)
-> + newbee (8)
-> + How to substitute element or t... (2)
-> + Xalan support in x16? (2)
-> + The context item for axis step... (5)
-> - ASP to XSL (1)
-> + xsl report, with xml feed, SVG... (4)
-> - XSLT code to transform CSV typ... (2)
-> ->XSLT code to transform CS...
-> + Make xstl file working in brow... (4)
-> + identity template, result-docu... (6)
-> - identity template and xsl:resu... (1)
-> + java.lang.RuntimeException: Er... (5)
-> + How to check matching parenthe... (2)
-> - Error only on using xalan:eval... (1)
-> + XSLT not displaying SOAP respo... (2)
-- [1-20] [21-40] [41-60] Next
+ XQuery Help and Discussion (1941)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (363)
+ Stylus Studio Announcements (113)
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

   
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.