XML Tools
This plugin supports writing XML files by listing allowed tags and more.

Introduction
This plugin gives hints about what's allowed at a certain position in an XML file, according to the file's DTD. It will list possible elements, attributes, attribute values or entities, depending on the cursor position (all entities are listed if the character on the left of the cursor is &). It's also possible to close the nearest not-yet-closed tag on the left.
The DTD must exist in XML format, as produced by the Perl program dtdparse (note that this XML format of the DTD is not XML Schema). I'll call these kind of DTDs meta DTDs. Some meta DTDs are supplied. They are installed in $KDEDIR/share/apps/katexmltools/, which is also the default directory when you choose Assign Meta DTD.... To produce your own meta DTDs, get dtdparse from http://dtdparse.sourceforge.net.

Features and Limitations
You can test all functions and limitations by loading $KDEDIR/share/apps/katexmltools/testcases.xml into and following the instructions. Note that working with more than one document is not yet supported correctly, you can only use one meta DTD for all documents.

Menu Structure
XML Plugin Insert XML... 	This will list all allowed elements, attributes or attribute values, depending on your cursor position and the DTD. To use this, you must have assigned a meta DTD by using Assign Meta DTD....
XML Plugin Insert Entity... 	This will list all available entities, according to the current DTD. To use this, you must have assigned a meta DTD by using Assign Meta DTD....
XML Plugin Close Element 	This will search your text for a tag which is not yet closed and will close it by inserting a corresponding closing tag. The search starts at the cursor position and goes left. If it can't find an open tag nothing will happen.
XML Plugin Assign Meta DTD... 	This will tell the plugin which meta DTD to use for all currently opened documents. Note that this assignment won't be saved, you'll have to repeat it when you start the next time.

Thanks and Acknowledgements
Plugin XML Tools copyright 2001,2002 Daniel Naber daniel.naber@t-online.de.
Documentation copyright 2001 Daniel Naber