Page 1 of 1

XSD editor: Enable to choose the root element of the XML Schema and to save the tree representation to the XML file

Posted: Fri Feb 12, 2016 3:27 pm
by tatra603
Hello,

I would like to ask You to add a feature to the XML Schema Editor. I would like to be able to choose the root element of the XML Schema and to save the visual tree representation (already implemented in current oXygen) to the XML file. Running this task from command line would be also highly appreciated.

Use case: To be able to compare and to identify same XML Schemas defined in different ways. To be able to further process the tree representation of the XML Schema using e. g. XSL-T to produce mapping in non XSL-T languague.Now we are running such task by custom Java application using XSOM, but the result are far from ideal target. oXygen has this functionality already implemented up to saving to XML and running from command line.

I already consulted it by Octavian on XML Prague 2016.

Thank You in advance, Stepan

Re: XSD editor: Enable to choose the root element of the XML Schema and to save the tree representation to the XML file

Posted: Tue Feb 16, 2016 1:34 pm
by tavy
Hi Stepan,

I already added an issue with your feature request.
A solution can be to change the flattenSchema and allow to specify also the root element to start from.

Best Regards,
Octavian

Re: XSD editor: Enable to choose the root element of the XML Schema and to save the tree representation to the XML file

Posted: Tue Feb 16, 2016 5:34 pm
by tatra603
Hi, Octavian,

I sent You the e-mail to support@oxygenxml.com, because I attached there a long output example and some code, which is too long to be pasted it here.

Regards, Stepan

Re: XSD editor: Enable to choose the root element of the XML Schema and to save the tree representation to the XML file

Posted: Wed Feb 17, 2016 12:33 pm
by tavy
Hi Stepan,

Thanks for the sample files. We can understand better the use case.

Best Regards,
Octavian