The View Menu (shown below) is available in each of the main XML Authority windows and contains menu options controlling the navigation through and the appearance of the interface. The options listed under the View menu change depending on the currently active window. The table below shows the options available under the View menu for each main window in XML Authority:
Overview
window |
Element Types
window View menu options: Toolbar (Window Selections) Expand Zoom In Zoom Out |
Attribute Types
window View menu options: Toolbar (Window Selections) Expand |
Advanced window View menu options: Toolbar (Window Selections) Expand |
Notes window View menu options: Toolbar (Window Selections) Show Selected Declaration Show Document |
Source window View menu options: Toolbar (Window Selections) Unlock Editing Refresh Reparse |
The possible options/submenus that appear under the View menus in each window are described in more detail below.
The View menu and its Advanced submenu (shown in Figure A) allow you to open windows showing different aspects of the currently active schema:
![]() Figure A: View Menu |
Overview window Element Types window Attribute Types window General Entities tab of the Advanced window Parameter Entities tab of the Advanced window Notations tab of the Advanced window Processing Instructions tab of the Advanced window Notes window Source window Errors window |
Available on the View menu in all of XML Authority's main windows, the toolbar submenu (Figure B) selects the toolbar to be displayed. The settings chosen here apply to all windows.
Figure B: View Menu, Toolbar submenu
Lock Editing / Unlock Editing
Available only in the Source window, lock editing, if enabled, prevents the user from performing edits in the source until lock editing is disabled. This option on the View menu toggles between Lock Editing (meaning that editing is currently permitted), and Unlock Editing (meaning that editing is currently not permitted). By default, the Source window is locked - no editing is permitted.
When the Source window is locked, changes made in other windows are automatically updated in the Source window. Once the window is unlocked, you can make changes to the source code directly. Two features -- Refresh and Reparse -- become active when the source window is unlocked (and consequently the toolbar is updated with three extra buttons, for unlocking the text, refreshing the content, and reparsing changes made by the user, as shown in Figure B).
Figure C - Extra buttons in the Source window toolbar
The button on the left ('Refresh') will update the code in the Source window based on the current entries in other windows. The button on the right ('Reparse') will update the other windows to reflect changes that have been made to the source.
Available in the Element Types, Attribute Types, and Advanced windows, the Expand option is used to bring up a dialog box for editing content models in the Element Types window, attribute constraints in the Attribute Types window, and other general editing in the Advanced window (values, instructions, locations, etc.). Expand is available when editing most cells, with the exception of a cell that contains a name (such as an element type name or an attribute name).
Available only on the View menu in the Element Types window, the Zoom In and Zoom Out items let you zoom in and zoom out of the diagram displayed in the content model pane of the Element Types window.
Show Selected Declaration
/ Show Document
Available only on the View menu in the Notes window, these two options are used to change which notes are being viewed in the Notes window. Only one of these two options can be selected at a time. If Show Selected Declaration is selected, the notes displayed in the Notes window are specific only to the declaration the user has selected. If Show Document is selected, the notes displayed in the Notes window are notes related to the whole document.
Available only on the View menu in the Source window, Refresh can be used to update the Source window if changes to the DTD have been made.
Available only on the View menu in the Source window, Refresh can be used to parse the DTD file again if changes to it have been made.
Copyright 2000 Extensibility, Inc.
Suite 250, 200 Franklin Street, Chapel Hill, North Carolina 27516