Schema edit mode - schema graphic and text together?

This should cover W3C XML Schema, Relax NG and DTD related problems.
dave g
Posts: 3

Schema edit mode - schema graphic and text together?

Wed Jul 29, 2009 7:11 pm

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: 4144

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

Thu Jul 30, 2009 10:10 am

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

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

Thu Jul 30, 2009 11:11 am

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: 4144

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

Thu Jul 30, 2009 11:18 am

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

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

Mon Aug 31, 2009 9:38 pm

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: 4144

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

Tue Sep 01, 2009 11:07 am

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

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

Tue Sep 01, 2009 11:13 am

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

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

Tue Sep 01, 2009 11:56 am

Thanks!

Dave.

Return to “XML Schemas”

Who is online

Users browsing this forum: No registered users and 1 guest