proper.xml
Class XSL

java.lang.Object
  extended by proper.xml.XSL

public class XSL
extends java.lang.Object

This class is for transforming XML via XSL.

Version:
$Revision: 1.3 $
Author:
FracPete

Constructor Summary
XSL()
           
 
Method Summary
static void main(java.lang.String[] args)
          takes two/three arguments: XML file XSLT script output file (optional)
static java.lang.String transform(java.io.Reader xml, java.io.Reader xsl)
          performs the transformation with the given readers
static java.lang.String transform(java.lang.String xml, java.lang.String xsl)
          performs the transformation with the given strings
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSL

public XSL()
Method Detail

transform

public static java.lang.String transform(java.lang.String xml,
                                         java.lang.String xsl)
performs the transformation with the given strings


transform

public static java.lang.String transform(java.io.Reader xml,
                                         java.io.Reader xsl)
performs the transformation with the given readers


main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
takes two/three arguments:
  1. XML file
  2. XSLT script
  3. output file (optional)

Throws:
java.lang.Exception