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
Bjørn Espen RaadimSubject: 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?

Please advice,
Bjoern Espen Raadim

Postnext
Tony LavinioSubject: 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.

Posttop
Bjørn Espen RaadimSubject: EDI TO XML using the Stylus Studio JAVA API - Long segment names
Author: Bjørn Espen Raadim
Date: 29 Aug 2007 09:28 AM
Hi,


Thanks! I was only looking in the documentation for the JAVA API, and this parameter is not listed there. The parameter made the whole difference :-)

Best Regards,
Bjoern Espen

 
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.