Ignore:
Timestamp:
03/21/11 19:18:43 (9 years ago)
Author:
abhinav
Message:
  1. Added a method to use the style-sheet to convert OME-XML to METS(MODS).
  2. Batch file calls "mvn clean" before it builds.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/projects/visbio/src/main/java/loci/visbio/util/XMLUtil.java

    r5093 r7662  
    214214  } 
    215215 
     216  /** XSLT Stylesheet for Forward project */ 
     217  public static String transformXML(String xml, String pathToStylesheet) { 
     218    Templates stylesheet = XMLTools.getStylesheet(pathToStylesheet, null); 
     219    try { 
     220      return XMLTools.transformXML(xml, stylesheet); 
     221    } 
     222    catch (IOException exc) { 
     223      return null; 
     224    } 
     225  } 
    216226} 
     227 
Note: See TracChangeset for help on using the changeset viewer.