public static String buildMinimalLom(String englishTitle, String frenchTitle, String metadataLang, String location) {
        Calendar cal = Calendar.getInstance();
        String now = cal.get(Calendar.YEAR) + "-";
        now += StringUtil.insertLeading( '0', 2, cal.get(Calendar.MONTH) + 1 + "" );
        now += "-";
        now += StringUtil.insertLeading( '0', 2, cal.get(Calendar.DATE) + "" );

        //general
        StringBuffer lom = new StringBuffer();
        lom.append( "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>\n" );
        lom.append( "<lom xmlns=\"http://ltsc.ieee.org/xsd/LOM\" " );
        lom.append( "xmlns:xsi=\"http://www.w3.org/2001/XMLSchemainstance\" " );
        lom.append( "xsi:schemaLocation=\"http://ltsc.ieee.org/xsd/LOM " );
        lom.append( "http://ltsc.ieee.org/xsd/lomv1.0/lom.xsd\">\n" );
        lom.append( "<general><title>" );
        
        if( englishTitle != null )
            lom.append( "<string language=\"en\">" ).append( englishTitle ).append( "</string>" );
        if( frenchTitle != null )
            lom.append( "<string language=\"fr\">" ).append( frenchTitle ).append( "</string>" );

        lom.append( "</title></general>" );

        //metaMetadata
        lom.append( "<metaMetadata><contribute><role><source>LOMv1.0</source><value>creator</value></role>" );
        lom.append( "<date><dateTime>" ).append( now ).append( "</dateTime></date></contribute>" );
        lom.append( "<metadataSchema>LOMv1.0</metadataSchema>" );

        if( metadataLang != null )
            lom.append( "<language>" ).append( metadataLang ).append( "</language>" );
        
        lom.append( "</metaMetadata>" );

        //technical
        if (location != null) {
            lom.append( "<technical>" );
            lom.append( "<location>" ).append( location ).append( "</location>" );
            lom.append( "</technical>" );
        }

        lom.append( "</lom>" );

        return( lom.toString() );
    }