Can you generate an sample XML using Oxygen

Questions about XML that are not covered by the other forums should go here.
pparikh
Posts: 2
Joined: Thu May 19, 2005 1:11 am

Can you generate an sample XML using Oxygen

Post by pparikh »

Hi Everone,

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

Thank You,
_P
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post 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
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post 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
pparikh
Posts: 2
Joined: Thu May 19, 2005 1:11 am

Post by pparikh »

Thanks everyone, it work great.
Post Reply