Schema edit mode - schema graphic and text together?

This should cover W3C XML Schema, Relax NG and DTD related problems.
dave g
Posts: 3
Joined: Wed Jul 29, 2009 6:49 pm

Schema edit mode - schema graphic and text together?

Post by dave g »

Hi there,

Sorry if this is a FAQ but I haven't been able to find an answer so far...

When viewing a schema, is it possible to have the text of the schema visible at the same time as the schema graphic pane? Ideally I'd like to be able to click on an element in the schema graphic pane and see the actual text definition (and vice versa).

Cheers,

Dave.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Schema edit mode - schema graphic and text together?

Post by sorin_ristache »

Hello,

That is possible in Text mode but only the old design of the XML Schema diagram is available in that mode. Just click on the Text tab at the bottom of the editing panel.

By default an XML Schema is opened in Schema mode where the new design of the diagram is available. You can set the initial mode to Text mode instead of Schema mode by changing the mode for XSD Editor from Preferences -> Editor -> Pages.


Regards,
Sorin
dave g
Posts: 3
Joined: Wed Jul 29, 2009 6:49 pm

Re: Schema edit mode - schema graphic and text together?

Post by dave g »

That's great - thanks Sorin!

Do you know if there are any plans to let the Text mode use the new design of the XML Schema diagram?

Cheers,

Dave.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Schema edit mode - schema graphic and text together?

Post by sorin_ristache »

The new design will not be used in Text mode. The old design is available there as it was in previous versions and some users like that.


Regards,
Sorin
fledertier
Posts: 2
Joined: Mon Aug 31, 2009 9:29 pm

Re: Schema edit mode - schema graphic and text together?

Post by fledertier »

sorin wrote:Hello,
That is possible in Text mode but only the old design of the XML Schema diagram is available in that mode. Just click on the Text tab at the bottom of the editing panel.
By default an XML Schema is opened in Schema mode where the new design of the diagram is available. You can set the initial mode to Text mode instead of Schema mode by changing the mode for XSD Editor from Preferences -> Editor -> Pages.
Regards,
Sorin
That doesn't work for me. I'm using the evaluation version 10.3 on linux. When I choose text mode, I get text mode only, when I choose schema mode, schema only. I never get the layout like shown here. Plus I don't have the option in schema mode to choose between Full/ Logical model view.

Any ideas? Help is appreciated, many thanks!
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Schema edit mode - schema graphic and text together?

Post by sorin_ristache »

Hello,

Make sure you have the option Show Full Model XML Schema diagram enabled in Preferences -> Editor -> Pages -> Text -> Diagram. Reopen the XML Schema file after you enable this option.


Regards,
Sorin
fledertier
Posts: 2
Joined: Mon Aug 31, 2009 9:29 pm

Re: Schema edit mode - schema graphic and text together?

Post by fledertier »

Many thanks Sorin!
The new editor 10.3 works like a charm (we used 7.2 in class which was pretty good)!
dave g
Posts: 3
Joined: Wed Jul 29, 2009 6:49 pm

Re: Schema edit mode - schema graphic and text together?

Post by dave g »

Thanks!

Dave.
Post Reply