2.1. File menu
Prev | 2. Menus | Next

### 2.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.

Open

  Opens an existing document. Displays standard file chooser dialog box or advanced URL chooser dialog box depending on value of option "Use URL chooser rather than file chooser".

  Note that XXE cannot load non-well formed XML documents but it can load invalid documents. See Validity State.

  ### 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).

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

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 value of option "Use URL chooser rather than file chooser".

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 that have been opened in XXE. Selecting such menu item:

- Loads the document into XXE if it is not currently loaded.

- Reloads the document into XXE, closing all existing views, if it is currently loaded. If the document has been modified, the user will have to confirm that changes are to be discarded.

### Tip

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

Prev | Up | Next
2. Menus | Home | 2.2. Select menu