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 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
sdev kSubject: XML to X12 (invoice 810 edi)
Author: sdev k
Date: 03 Sep 2009 01:28 PM
I want to convert an XML(invoice) to EDI X12 810 invoice.
How do i do that using stylus studio?

Thanks

Posttop
Alberto MassariSubject: XML to X12 (invoice 810 edi)
Author: Alberto Massari
Date: 14 Sep 2009 11:35 AM
Hi,
I guess your XML invoice is in a proprietary format; in this case
1) use the File | Document Wizard | XML Editor | EDI to XSD wizard, select the X12 dialect (and the proper version), pick the 810 message from the list and click OK
2) save the generated file
3) create a new XSLT (or XQuery, depending on the language/processor you plan to use) and switch to the Mapper tab
4) select the schema file you just saved in the target schema pane, and your source XML invoice in the source schema pane
5) in the XSLT | Scenario Properties click on the "..." button next to Output URL, type in a file name where you want the EDI invoice to be written, check the "Save Using XML Converter" option; after you click OK, select the Electronic Data Interchange converter in the left pane and click OK again
6) design the mapping by dragging & dropping the field from the source schema pane to target schema pane
7) run the transformation and (hopefully) get the EDI version of your invoice.

Hope this helps,
Alberto

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 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.