Step 2: Use a Stylesheet, if necessary
When you use xmlLinguist, the XML document must look like your
EDI document in order to properly translate. Most of the time,
you XML Purchase Order will not look like an EDI 850 document.
Thus, we use a stylesheet to transform the document.
The stylesheet needs to transform the above document into one
that looks like an EDI 850 Document.
We already have an XSLT that performs this transformation for you.
You can download it here: POto850.xsl
You can also download the results of the transformation when applied
to our sample PayPal PO.xml file here: 850.xml
We ready to move onto
Step 3: Testings the maps
|