transformTrax( source, dest, xslFile, "^.*/navigation.xml$", "", ".xml" );
try { transformTrax( source, dest, xslFile, "^.*/navigation.xml$", "", ".xml" ); } catch( BuildException e ) { throw e; } catch( Throwable e ) { final String error = "Transformation failure: " + source; throw new BuildException( error, e ); }
    private void transformNavigation( final File themeDir, final File source, final File dest )    {        final File xslFile = new File( themeDir,  "nav-aggregate.xsl" );        if( !xslFile.exists() )        {            return;  // Theme may not use navigation.        }        log( "Transforming navigation." );        transformTrax(          source, dest, xslFile,          "^.*/navigation.xml$", "", ".xml" );    }