code: public void processStyleMap(File aStyleMap) throws TransformerException {
  	// Copy static files annotations.xsl, annotationViewer.js, and
  	// index.html to
  	// the output dir as well, where they will be used later
  	writeToFile("annotations.xsl", mOutputDir);
  	writeToFile("annotationViewer.js", mOutputDir);
  	writeToFile("index.html", mOutputDir);
  
  	// Generate CSS from Style Map
  	Transformer cssTransformer = mStyleMapToCss.newTransformer();
  	cssTransformer.transform(new StreamSource(aStyleMap), new StreamResult(
  		new File(mOutputDir, "annotations.css").getAbsolutePath()));
  	// NOTE: getAbsolutePath() seems to be necessary on Java 1.5
  
  	// Generate legend from Style Map
  	Transformer legendTransformer = mStyleMapToLegend.newTransformer();
  	legendTransformer.transform(
  		new StreamSource(aStyleMap),
  		new StreamResult(new File(mOutputDir, "legend.html")
  			.getAbsolutePath()));
  	// NOTE: getAbsolutePath() seems to be necessary on Java 1.5
  
  	// Generate DocFrameXsl from Style Map
  	Transformer docFrameXslTransformer = mStyleMapToDocFrameXsl
  		.newTransformer();
  	docFrameXslTransformer.transform(
  		new StreamSource(aStyleMap),
  		new StreamResult(new File(mOutputDir, "docFrame.xsl")
  			.getAbsolutePath()));
  	// NOTE: getAbsolutePath() seems to be necessary on Java 1.5
      }
docs: Processes a user-specified file map and produces three outputs:
  <UL>
  <LI>annotations.css - A CSS stylesheet for the annotation viewer</LI>
  <LI>legend.html - HTML document for legend (bottom pane of viewer)</LI>
  <LI>docFrame.xsl - An XSL stylesheet to be applied to annotated documents
  during calls to {@link processDocument(File)}.</LI>
  </UL>
  
  @param aInlineXmlDoc
  path to style map to be processed