Page 1 of 1

Using XSD to generate a Table

Posted: Wed Oct 09, 2013 1:44 am
by tsmithmr
Is there a way in oXygen to export an xsd's xpaths, elements and attributes as a table or excel spreadsheet?

We often need to translate xsd's into a more readable format in order to provide them along with field descriptions and enumerated values and business rules to third party developers and product teams which requires a lot of manual copy/paste. There must be an easier way to do this, so I figured I would ask here. Maybe there is some oXygen magic that I am not aware of.

Thank you!

Re: Using XSD to generate a Table

Posted: Wed Oct 09, 2013 11:43 am
by Costin
Hello,

Unfortunately, exporting an XML schema into tabular formats is not possible in oXygen.
However, oXygen provides a tool to obtain complete documentation for XSD content models, presenting easy to read diagrams of the schema elements, annotations, and cross references.
From the schema documentation you can obtain a complete description of all the XML schema's component elements, as well as their own attributes, their context and so on. But, again, this is not available in tabular format.

In order to generate documentation for a given XML schema, you should go into oXygen XML menu to Tools > Generate Documentation > XML Schema Documentation...

You can find detailed information about the schema documentation feature on our website, at:
http://www.oxygenxml.com/xml_editor/xml ... ation.html

For XML schema files, oXygen XML also provides the "Design" mode, which allows the user to have a visual representation of schema's components. While in that mode, you can expand or collapse elements and save the entire or part of a schema diagram as an image.

Regards,
Costin

Re: Using XSD to generate a Table

Posted: Tue Nov 12, 2013 10:39 pm
by lauroz213
We, too, need this feature. Pictures are OK, but some of us need text extraction minus the tags, say, for code list values. Apart from copying individual columns from the Grid feature, I don't see the Documentation helping in this way. What am I missing?

Thanks for any help in this regard!

LJ

Re: Using XSD to generate a Table

Posted: Tue Nov 12, 2013 11:32 pm
by Costin
Hello,

Just in order to clarify what you're interested in, could you please specify in what conversion would you be interested in? I mean do you want to convert general XML files into tabular formats (like MS's XLS) or do you want to convert an XSD schema to into those formats?

Also, please provide more details about your use-case. It would be good if you could give us an example of how your input file looks like and what result are you expecting to achieve using oXygen XML.

Please note that you can also use our support email address (support AT oxygenxml DOT com) at any time to get in contact with us and send sample files.

Regards,
Costin