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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> + MarkLogic Integration (4)
-> + (null)0:0 (3)
-> + Recent Windows Patch for MSXML... (3)
-> + Show XML from Schema (2)
-> + xml publisher - report to xslt... (4)
-> - EDI TO XML using the Stylus St... (3)
-> ->EDI TO XML using the Styl...
-> ->EDI TO XML using the Styl...
-> + Unable to Generate XML file fr... (6)
-> + DB to XML in Enterprise Suite (2)
-> + pdf to xml (2)
-> - Open External Schema - button ... (1)
-> - Unable to Generate XML from xC... (1)
-> + Unable to Generate XML from xC... (2)
-> + pre-proc processing in xml (2)
-> + FATAL ERROR: Expected comment ... (2)
-> + How to split window (3)
-> + XML Transformation Architectur... (2)
-> + only one record get run in an ... (2)
-> + xbrl schema file (2)
-> + Compare of 2 xml files (2)
-> + config control (4)
-- Previous [1501-1520] [1521-1540] [1541-1560] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
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

   
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.