Page 1 of 1

Can you generate an sample XML using Oxygen

Posted: Thu May 19, 2005 1:18 am
by pparikh
Hi Everone,

I am a newbie and am wondering if oXygen XML generate sample XML instance.

Thank You,
_P

Posted: Thu May 19, 2005 10:28 am
by sorin_ristache
Hello,

Yes <oXygen/> can generate a part or all the XML tags of a XML instance document starting from a specified schema (XML Schema, DTD) and you will have to provide only the text content of the tags. For this enable the options Add element content, Add optional content and Add first Choice particle from Options - Preferences - Editor / Tag Insight / Features and specify the URL of the schema when you create a new XML instance from File - New or the New toolbar button.

Best Regards,
Sorin

Posted: Thu May 19, 2005 12:20 pm
by george
Hi,

These options were made available in the New -- XML dialog for content generation. There you can specify if the optional/first choice content should be included.

Best Regards,
George

Posted: Thu May 19, 2005 3:52 pm
by pparikh
Thanks everyone, it work great.