org.activemath.util
Class StylesheetShrinker
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StylesheetShrinker
public StylesheetShrinker(File input,
File output)
- Constructs the shrinker, need to invoke
run() afterwards.
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