Change the order of tests in sub GetXsltDir, so that it tests relative to the root directory before using the current dir (which will always exist)
Improved debug output when unable to open some of the files.
<?xml version="1.0"?>
<model name="Symbian OS" label="System Model" shapes="shapes.xml">
<layout>
<legend label="Key">
<legend use="@shapes#colors"/>
<legend use="@shapes#styles"/>
<legend use="@shapes#patterns"/>
<legend use="@shapes#borders"/>
</legend>
</layout>
</model>