Open Expand/Collapse All Print this Topic Previous Page Up One Level Next page

Home >  User Guide and Reference > Menu Commands > File Menu >


Icon and shortcut








The Open command pops up the familiar Windows Open dialog, and allows you to open any XML-related document or text document. In the Open dialog, you can select more than one file to open. Use the Files of Type combo box to restrict the kind of files displayed in the dialog box. (The list of available file types can be configured in the File Types section of the Options dialog (Tools | Options).) When an XML file is opened, it is checked for well-formedness. If the file is not well-formed, you will get a file-not-well-formed error. Fix the error and select the menu command XML | Check Well-Formedness (F7) to recheck. If you have opted for automatic validation upon opening and the file is invalid, you will get an error message. Fix the error and select the menu command XML | Validate XML (F8)  to revalidate.


Click to expand/collapseSelecting and saving files via URLs and Global Resources

In several File Open and File Save dialogs, you can choose to select the required file or save a file via a URL or a global resource (see screenshot below). Click Switch to URL or Switch to Global Resource to go to one of these selection processes.

Click to expand/collapse


Selecting files via URLs

To select a file via a URL (either for opening or saving), do the following:


1.Click the Switch to URL command. This switches to the URL mode of the Open or Save dialog (the screenshot below shows the Open dialog).

Click to expand/collapse

2.Enter the URL you want to access in the Server URL field (screenshot above). If the server is a Microsoft® SharePoint® Server, check the Microsoft® SharePoint® Server check box. See the Microsoft® SharePoint® Server Notes below for further information about working with files on this type of server.
3.If the server is password protected, enter your User-ID and password in the User and Password fields.
4.Click Browse to view and navigate the directory structure of the server.
5.In the folder tree, browse for the file you want to load and click it.
Click to expand/collapse

The file URL appears in the File URL field (see screenshot above). The Open or Save button only becomes active at this point.

6.Click Open to load the file or Save to save it.



Note the following:


The Browse function is only available on servers which support WebDAV and on Microsoft SharePoint Servers. The supported protocols are FTP, HTTP, and HTTPS.
To give you more control over the loading process when opening a file, you can choose to load the file through the local cache or a proxy server (which considerably speeds up the process if the file has been loaded before). Alternatively, you may want to reload the file if you are working, say, with an electronic publishing or database system; select the Reload option in this case




Click to expand/collapseMicrosoft® SharePoint® Server Notes

Note the following points about files on Microsoft® SharePoint® Servers:


In the directory structure that appears in the Available Files pane (screenshot below), file icons have symbols that indicate the check-in/check-out status of files.

Click to expand/collapse

Right-clicking a file pops up a context menu containing commands available for that file (screenshot above).


The various file icons are shown below:



Checked in. Available for check-out.


Checked out by another user. Not available for check-out.


Checked out locally. Can be edited and checked-in.


After you check out a file, you can edit it in your Altova application and save it using File | Save (Ctrl+S).
You can check-in the edited file via the context menu in the Open URL dialog (see screenshot above), or via the context menu that pops up when you right-click the file tab in the Main Window of your application (screenshot below).


When a file is checked out by another user, it is not available for check out.
When a file is checked out locally by you, you can undo the check-out with the Undo Check-Out command in the context menu. This has the effect of returning the file unchanged to the server.
If you check out a file in one Altova application, you cannot check it out in another Altova application. The file is considered to be already checked out to you. The available commands at this point in any Altova application supporting Microsoft® SharePoint® Server will be: Check In and Undo Check Out.





Click to expand/collapseOpening and saving files via Global Resources

To open or save a file via a global resources, click Switch to Global Resource. This pops up a dialog in which you can select the global resource. These dialogs are described in the section, Using Global Resources. For a general description of Global Resources, see the Global Resources section in this documentation.



© 2019 Altova GmbH