XML:Wrench :: XML:Wrench Quick Reference

Available commands are listed here, in the order that they appear on the main menu. Many commands also have their own button on the toolbar at the top. Most commands can also be activated by certain 'hot key' combinations.

File Menu


Create a new file. You have to specify the file-type and then XML-Wrench creates the file for you with the default name and content.

Open file...

Open an existing file on your hard disk or local network.

Open FTP...

Open an existing file on an FTP server.

Open Web page...

Open an existing file direct from a web server.


Display a list of the most recently used files.


Save the current selected file. Files will be savewd to wherever they were opened. Local files will be saved back to the local disk or network. FTP files will be saved bact to the same FTP server. Web pages can't be saved to the server - so you will be prompted to save to disk. If the file is new you will be prompted to change the filename.

Save As file...

Save the current selected file to a new filename.

Save As FTP...

Save the current selected file to a new filename on an FTP server.


Closes the current selected file.

Close All

Closes all files.

Change File type...

Allows you to change the type of a file on the fly. The way that the file is highlighted and the file used for contenxt sensitive help will change. This can be useful if you have several types of text embedded in one document (eg css in an html file, or html in php). Not the file neam and extension are not changed.


Print the selected file.


Exits XML-Wrench.

Edit Menu


Cut the selected text to the clipboard.


Copy the selected text to the clipboard.


Pastes text from the clipboard to the current position in the text.


Undo the last editing change. Can be used several, say n, times to undo the last 'n' changes.


Opposite of Undo.

Configuration Options...

Displays a dialog that allows you to change the configuration for XML:Wrench. Some options are global and affect XML:Wrench for all files. [see How-to configure XML:Wrench]

You can also make settings specific to each individual file-type. For each file-type you can set default names, initial content, help file, preview commands. etc. [see How-To configure a File-type]

You can also define your own file-types using this option. [see How-To define your own File-type]

Search Menu


Displays the Find Dialog. Use this to search through the selected text file for a given word/piece of text.


Displays the Replace Dialog. Allows you to search through the selected text file for a given word/text and replace with new text.

Tools Menu


Imports an HTML file and converts it to XML (as best as it can). Most HTML files are usually pretty close to being well formed XML. The exceptions are single tags (e.g. <P> or <BR> or <IMG>) and some attributes. To be valid, an attribute should be in quotes.

This conversion routine tries to convert these invalid tags & attributes as they are encountered. [see How-to convert HTML files to XML]

Check Well Formed

A document that matches the XML syntax is said to be 'well-formed'. This option checks the current file. Either displays an OK message or an error message with the line number where the error occurred. [see How-To check XML files]

Check Valid

A well formed XML document may also be 'valid'. This means not only that it is 'well formed' XML but also that the document conforms to some additional rules. These will typically be specified in an external DTD file. [see How-To check XML files]


This command allows an XML document to be 'transformed' using an XSL style-sheet. The output document is usually an XML or HTML document. [see How-to transform XML using XSL style-sheets]


This option applies the same command to an entire group of files in one go. You can select a source location and a file spec. (e.g *.xml or *.xhtml) and a target location with file spec. Then at a single click an entire folder of files gets processed.

Available commands are Import, Check, Transform, Delete and Copy.

Preview 1

Call up another Windows program to display the file. This might be the program that is normally associated with that file type or can be any program you choose via the configuration dialog.

Preview 2

As above.

Preview 3

As above.

View Menu

More Help

Move the vertical splitter so that the help pane fills the majority of the window.

More Edit

Move the vertical splitter so that the editor pane fills the majority of the window.


Display or hide the Log on a page on the right hand side.


Display or hide the Help on a page on the right hand side.

Help Menu


Loads up the index for the XML:Wrench help files. This will appear in the right hand help window.

Context sensitive help

This command calls up help for the word under the cursor in the current file. XML:Wrench will first select the relevant help file, depending on the type of file being edited. It will then attempt to locate the current word in that file.


Displays an About box for XML:Wrench. This contains information about the version of XML:Wrench you are using.