Class Main

java.lang.Object
eu.bandm.tools.xslt.base.Main

public class Main extends Object
Command line tool for checking and excuting one single xslt transformations from file to file, internally: a w3c model into a tdom model.
FIXME: Batch mode, or client-server, etc. support still MISSING, but pre-wired by cache object TransformationCache.
(The overall calling architecture is sketched in the package level documentation.)
  • Field Details

  • Constructor Details

    • Main

      public Main()
  • Method Details

    • nonStatic_main

      public void nonStatic_main(String[] args)
      Main entry for just type checking with Fragmented Validation, or for executing the transformation. Controlled by command line options in Options. Execution mode is decided by the presence of the option "--inputFiles".
      For type checking of the xpath expressions there are following combinations:
      • No source Dtd and no source top level elements => only functions are checked for existence.
      • Source dtd => All source elements potential roots
      • Source dtd AND source root elements => full type check FIXME GIPS NICHT MEHR !?!?!

      To define the execution of xpath-functions, a class path of a dedicated subclass of FunctionLibrary can be supplied by --tpathFunctions. An instance of this class will be created. Since this will be the ONLY source of function defs, it should add all standard xpath functions from BuiltInFunctions. If no such option is given, an instance of BuiltInFunctions will be used, which realizes all standard xslt and xpath functions.
    • main

      public static void main(String[] args)