The following XSLT scripts provide some useful capabilities for cleaning up XMI files exported from UML tools. They work with Saxon and Xalan.
NOTE: These files have been uploaded with a “xml” extension, because “xsl” is not currently an allowed extension for DokuWiki. The files download with the default name “fetch.php”. The file names should be changed to those given below (with the “xsl” extension) in order to operate correctly.
These files are also available in SVN here (requires OMG login).