Using XSD to generate a Table

This should cover W3C XML Schema, Relax NG and DTD related problems.
tsmithmr
Posts: 1

Using XSD to generate a Table

Wed Oct 09, 2013 1:44 am

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!
Costin
Posts: 346

Re: Using XSD to generate a Table

Wed Oct 09, 2013 11:43 am

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
Costin Sandoi
oXygen XML Editor and Author Support
lauroz213
Posts: 1

Re: Using XSD to generate a Table

Tue Nov 12, 2013 10:39 pm

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
Costin
Posts: 346

Re: Using XSD to generate a Table

Tue Nov 12, 2013 11:32 pm

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
Costin Sandoi
oXygen XML Editor and Author Support

Return to “XML Schemas”

Who is online

Users browsing this forum: No registered users and 1 guest