1. File menu

New

Creates a new document which is a copy of a named template.

This dialog box displayed by this command contains a list of named document templates (example: Article). A document template is listed below the name of the document type (example: DocBook) to which it belongs.

Use the URL Chooser

If this toggle is checked, XXE will display an URL chooser dialog box rather than the standard file chooser dialog box each time the user needs to specify a file name.

Default: not checked.

Open

Opens an existing document. Displays standard file chooser dialog box or advanced URL chooser dialog box depending on the state of the "Use the URL Chooser" checkbox.

Tip

  • It is also possible to open a document by dropping its icon anywhere inside XXE main window (except onto “drop sites” such as images in a document view). More information in Drag and drop in XMLmind XML Editor.

  • Shift-click on this menu item to open a document in read-only mode.

Opening plain text files in XMLmind XML Editor

This feature is available only when the "Edit source" add-on has been installed.

The "Edit source" add-on adds to XXE the capability to open, edit and save all kinds of text files (.css, .js, .dtd, etc), including "not well-formed" XML files. This is done using an advanced text editor featuring syntax highlighting, function folding, etc.

Which files are directly opened as text files (i.e. not as XML files first) can be specified using the OptionsPreferences, "Add-on|Text format" preferences form.

Why open text files in XXE?

  1. This is handy to fix "not well-formed" XML files.

  2. After downloading and installing the corresponding virtual drive plug-ins, XXE can open, edit and save text files stored on remote servers (WebDAV, FTP, FTPS, SFTP, Google Drive).

  3. XXE can lock local text files and text files stored on a WebDAV server.

Save

Saves the current document, but only if it has been modified.

Behaves like Save As if the current document is a newly created document or if the current document has not the write permission for the user.

Tip

At least for XXE, you do not have to save XML documents with a .xml extension. You can use more meaningful extensions.

Save As

Saves the current document to a different location. Displays standard file chooser dialog box or advanced URL chooser dialog box depending on the state of the "Use the URL Chooser" checkbox.

Save All

Saves all modified documents.

Page Setup

Selects the page size and margins used for printing. Displays standard Page Setup dialog box.

Print

Prints the current view of the current document and this, no matter what is being selected. Displays standard Print dialog box.

Print Selected Element

Allows to print a subset of current document. Requires one or more nodes to be explicitly selected (see Select menu). If several nodes are selected, it is the parent element of these nodes which is printed.

Quit

Quit XXE.

Below the above menu items, a menu item is added for the last nine documents which have been opened in XXE. Selecting such menu item:

Tip

  • Shift-click on a menu item to reopen the corresponding document in read-only mode.

  • Ctrl-click or right-click[3] on a menu item to display a file chooser dialog box. This dialog box allows to quickly and easily choose a file found in the same directory as the recently opened file clicked upon.



[3] Mac users: make sure to press Ctrl and not Cmd which clicking. Also note that right-clicking with a 3-button mouse will not work.