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 (1192)
+ Stylus Studio Technical Forum (14621)
+ Website Feedback (249)
- XSLT Help and Discussion (7625)
-> + Use of before and after string (3) Sticky Topic
-> - How do I substitute element ty... (1)
-> + How does one add working days ... (4)
-> - Help, I have existing XLT and... (1)
-> + Need help on XSLT issue - (2)
-> + EDI to XML Conversion (7)
-> - XML To JSON Conversion using X... (1)
-> + Formatting Paragraphs to same ... (2)
-> - Grouping of records (1)
-> + Problems with xsd 1.1 (4)
-> + XML to HL7 mapping (3)
-> + XSLT 3 and Iterate (2)
-> + XSL-FO to PDF preview (3)
-> + java.lang.RuntimeException: Er... (2)
-> + Create Acroforms with Stylus X... (2)
-> + How to change XSLT parameter s... (3)
-> + how to change format of the da... (2)
-> + Search "Next 8 Results " doesn... (2)
-> - Support for Git (1)
-> + newbee (8)
-- [1-20] [21-40] [41-60] Next
+ XQuery Help and Discussion (2016)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ 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.