Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Due to some maintenance operations, stambia.org will be switched to read-only mode during the 13th November. It will be possible to read and download, but impossible to post on the forums or create new accounts. For any question please contact the support team.

Topic-icon Solved How to generate an XSD file from metadata

More
08 Dec 2016 11:11 - 23 Dec 2016 10:26 #1 by Josserand BRINON
Josserand BRINON created the topic: How to generate an XSD file from metadata
Hi,

We would like to generate an XSD file from Stambia metadata.
There is the "Generate" button in the wizard of the XML schema, but it generates an XSD from the found XML file, not from the complete definition declared through the metadata.

Do you know if it is possible?
We need that to communicate other teams the complete XML format.

Thanks.
Last Edit: 23 Dec 2016 10:26 by Josserand BRINON.
More
22 Dec 2016 10:01 #2 by Cyril Dussud
Cyril Dussud replied the topic: How to generate an XSD file from metadata
Hi,

There is an xpath expression on the XML Metadata that allows to perfom that, called 'toXsd':



You can use it directly from the Metadata like in the screenshot, by clicking on the xpath expression.
This will generate it in the 'Console' View:



Or you can indeed use it in your Processes like usual xpath expressions.
This offers the possibility to make manipulation on it, load it directly in a file, ...
Here is a very simple example:



Then, when the Process is prepared, this will generate the xpath expression.
We can see it in the Step Detail View:



Is this corresponding to what you want to perform ?
Attachments:
More
23 Dec 2016 10:26 #3 by Josserand BRINON
Josserand BRINON replied the topic: How to generate an XSD file from metadata
Ok, so simple :)
Thank you Cyril.