Several menu items are added to the context sensitive menus for XML file nodes. These are visible when right-clicking on an XML node in the Project pane, or when right-clicking in the Source tab in the Content pane.
The 'Validate XML' menu entry lets you validate the current XML document (based on its DOCTYPE declaration). Different parsers can be used with the basic framework by implementing the XMLValidator interface and updating the XML Tools properties to include the full name of the implementing class. By default the standard JAXP parser is used.
Two 'Open ...' menu items let you open the DTD/schema or the stylesheet for the current document. The files to open are extracted from the XML document and appear in their own content views. If an appropriate filename cannot be found, the menu items are disabled.
Written by Keith Wood
(kbwood@iprimus.com.au).