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
luu tranSubject: How to convert HL7 (EDI) file to XML?
Author: luu tran
Date: 20 Feb 2007 07:11 PM
Hi7

New to SS and XML dev in general. I'm trying to create a java class to convert a HL7 (EDI) file to XML. I've tried to watch as many of the tutorials as I can but thus far I've hit a wall. I've managed to open a hl7 file, use the built in EDI adapter to convert to a XML file. However, I don't know where to go from here -- how to generate java code to do this automatically. Could someone point me to a step by step instruction for doing this? thanks

incidentally, when I have a converted xml file and click save, it says HL7 writing currently not supported. Is this normal? using SS2007 enterprise

Postnext
Tony LavinioSubject: How to convert HL7 (EDI) file to XML?
Author: Tony Lavinio
Date: 20 Feb 2007 11:18 PM
HL7 isn't supported.

If you try to run the adapter against it to go from
HL7 to EDI, it will try to process the file, but at
this time only EDIFACT, EANCOM, IATA and X12 are
supported.

You can try to use Convert-to-XML to go further, but
HL7 has lots of nasty little bits like segments that
can be split and have continuations and support for
certain embedded data that aren't properly handled
there either.

We'd like to expand our support of HL7, and if you are
interested in pursuing this, please contact us at
stylus-field-report (at) progress.com.

Postnext
luu tranSubject: How to convert HL7 (EDI) file to XML?
Author: luu tran
Date: 21 Feb 2007 11:04 AM
thank you for the response.

supposing I have a edi file that IS supported, what is the next step after using the IDE to convert it to XML. How do I generate java code to do the same conversion programmatically?

secondly, while going through the SS tutorial, I recall seeing a java code example that uses java's own XML API to do this conversion, provided you have a xslt, But I can't find it again. Was I hallucinating?

Posttop
Tony LavinioSubject: How to convert HL7 (EDI) file to XML?
Author: Tony Lavinio
Date: 21 Feb 2007 03:34 PM
If you create a pipeline and generate code from it,
you will see all of the proper steps.

Also, if you look in the documentation for the XML
converters, there is sample code. See also the
examples project under Adapters that is included
in the sample project.

 
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.