org.activemath.util
Class StylesheetShrinker

java.lang.Object
  extended by org.activemath.util.StylesheetShrinker

public class StylesheetShrinker
extends Object

This class processes XSL documents to remove all surrounding whitespaces inside templates that are not inside xsl:text thereby hopefully removing a lot of the errorneous LaTeX compilation errors.

Version:
0.1

Constructor Summary
StylesheetShrinker(File input, File output)
          Constructs the shrinker, need to invoke run() afterwards.
 
Method Summary
static void main(String[] args)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StylesheetShrinker

public StylesheetShrinker(File input,
                          File output)
Constructs the shrinker, need to invoke run() afterwards.

Method Detail

run

public void run()
         throws org.jdom.JDOMException,
                IOException
Throws:
org.jdom.JDOMException
IOException

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception