Electronic Data Interchange (EDI) is a set of computer interchange standards for business documents such as invoices, bills, and purchase orders. Learn how EDI tools for working with EDIFACT and X12 will radically simplify your next data integration project.
The Stylus Studio® EDI to XML Conversion module makes it easy to convert standard EDI documents to XML, and you can create custom conversion definitions to convert proprietary EDI to XML, too! Convert hundreds of EDI standard dialects and message types like EDIFACT, HL7, and X12 to XML, and modify XML output to your specifications.
Stylus Studio® EDI Mapping Tools include utilities for converting EDIFACT to XML, X12 to XML, and bi-directional converters for deploying them.
These converters can be used as part of XSLT and XQuery processing, part of XML pipelines, or used directly within your own programs.
DataDirect XML Converters™, which are bundled with Stylus Studio®, help you convert numerous EDI dialects like EDIFACT, X12, IATA, and EANCOM to XML. But did you know you can use Stylus Studio® to convert custom EDI message types?
Point to an EDIFACT document, hit a few buttons, and voilà! a fully-commented XML file. The comments can be turned off when you're sure the data transformation is just perfect. In the meantime, your data never looked so good.
Going from EDIFACT to XML is one thing, but we can do it backwards also. The converter is so transparent to your use, you can change the text in the XML editor, save it back to disk, and see the change persisted in the EDIFACT file!
The X12 converter, just like the EDIFACT converter, can go from XML to X12 EDI. Instead of using the X12 URL itself as the destination, simply prefix it with converter:EDI? and the output will happen through the X12 converter. The syntax and transaction set and even release will be detected from the XML stream, and the details will be handled for you.
Instead of worrying about the syntactic idiosyncracies of X12, concentrate on your data. The bidirectional nature of the EDI converter will handle the details of creating a syntactically correct X12 file from the XML editor, or even from your XQuery or XSLT transforms.
How do you know if the EDIFACT data you are working with is valid? How do you map from a copy of some document to your ERP system's inputs? XML Schemas are a useful mechanism for informing disparate applications of an XML document's structure. Stylus Studio® allows you to generate an XML Schema for any message type and any version that the EDIFACT standard supports. This can be used for validation, mapping or integration.
The DISA X12 standards are constantly being updated. How can you insure that your data stream is valid against what's coming down the pike? Being able to create XML Schemas for any transaction set or release, and then being able to build maps or do validation against said schemas can ease your burden.
Since Stylus Studio® can do XML to EDI and EDI to XML and XML to XML, there is no reason why it shouldn't be able to do EDI to EDI. And the same XSLT and XQuery tools historically used for XML mapping and transforming can now be used for working with EDIFACT, X12, flat files, relational databases, or any combination.
Access EDI from XSLT or XQuery
XSLT and XQuery are excellent tools for dealing with tree-structured data like XML. Up to this point, EDI has missed out, but the transparent URL-based converter library of Stylus Studio® can build your EDI bridge. Use EDI as if it were XML — for input, for output, or even for both (to translate from EDIFACT to X12 for example).
Stylus Studio supports the following EDI standards: EDIFACT, HL7, IATA, X12, EANCOM, Edig@s, HIPAA, NCPDP and TRADACOMS. Click on the respective section headings below for detailed descriptions of how each standard is supported.
For the truly strange or proprietary EDI vocabularies, the Convert to XML tool within Stylus Studio® can help you build your own converter, which can then be used like any other converter to go from EDI to XML.
Struggling with EDI standards? Simplify your next legacy data integration project with the EDIFACT Zone, a free online reference covering all EDIFACT and UN/CEFACT versions in detail
Got an EDI question? Looking for EDI Jobs? Post your EDI-related inquiries to the EDI Discussion Forum, an open and un-moderated forum about Electronic Data Interchange.
PURCHASE STYLUS STUDIO ONLINE TODAY!!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Try Stylus EDI Tools
Simplify working with Electronic Data Interchange (EDI) with Stylus Studio®'s award-winning EDI Tools — Download a free trial of our today!
Learn XQuery in 10 Minutes!
Say goodbye to 10-minute abs, and say Hello to "Learn XQuery in Ten Minutes!", the world's fastest and easiest XQuery primer, now available for free!
What is EDI?
Electronic Data Interchange (EDI) is the computer-to-computer exchange of structured information, by agreed message standards, from one computer application to another by electronic means and with a minimum of human intervention. In common usage, EDI is understood to mean specific interchange methods agreed upon by national or international standards bodies for the transfer of business transaction data, with one typical application being the automated purchase of goods and services.