Subject:EDI TO XML using the Stylus Studio JAVA API - Long segment names Author:Bjørn Espen Raadim Date:24 Aug 2007 07:31 AM
I have successfully created som code to convert an EDI file to an XML representation of the EDI file using the JAVA API.
The problem is that the XML the adapter is producing does not have the long element names you get when generating an XSD using the document wizard in stylusstudio.
Ex. the UNB01 element has the name <UNB01-Syntaxidentifier> with the long name option used when generating the XSD with the document wizard. But the xml document has only the short form <UNB01>.
Does anybody know if there is a property or method for enabling the EDI adapter to produce XML with long element names?
Subject:EDI TO XML using the Stylus Studio JAVA API - Long segment names Author:Tony Lavinio Date:24 Aug 2007 10:47 AM
If you look down the list of optional properties for the converter,
you'll notice one that is titled "Use long element names". Make sure
that is set to 'yes'. It adds the :long=yes value to the URI.