Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Stambia versions 2.x, 3.x, S17, S18, S19 and S20 are reaching End of Support January, 15th, 2024. Please consider upgrading to the supported Semarchy xDI versions. See Global Policy Support and the Semarchy Documentation.

The Stambia User Community is moving to Semarchy! All the applicable resources have already been moved or are currently being moved to their new location. Read more…

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
How to generate an XSD file from metadata was created by Josserand BRINON
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
Replied by Cyril Dussud on 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
Replied by Josserand BRINON on topic How to generate an XSD file from metadata
Ok, so simple :)
Thank you Cyril.