Generate XML instance documents from schema

Having trouble installing Oxygen? Got a bug to report? Post it all here.
cotoole
Posts: 1
Joined: Fri Jan 13, 2006 1:53 pm

Generate XML instance documents from schema

Post by cotoole »

Hi there,

How can I generate XML instance documents from a schema? I've used some other XML editors that have this function and it's very useful. I've searched but can't find any reference to this - is it available in Oxygen?

I have version 6.2.

Thanks.
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

When you create a new XML document you can choose a schema file. oXygen will automatically add required content and you can choose from that dialog to add also optional content and to have the first particles in choice model groups expanded. In the future we plan to add the possibility to generate a set of documents.

Best Regards,
George
chinhenghong
Posts: 1
Joined: Tue Jan 31, 2006 1:40 am
Location: San Francisco
Contact:

Post by chinhenghong »

Hi,

I tiried generating a new XML document based on a XSD file but oxYgen only generate up to two levels of nesting. Is this a known bug? Any workaround?
- Chin
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

The tags generated automatically depend on your schema. Please post a small sample of the schema, the actual result and the expected result.

Regards,
Sorin
Post Reply