oracle.panama.util
Class Xslt

java.lang.Object
  |
  +--oracle.panama.util.Xslt

public class Xslt
extends java.lang.Object

Utility to test XSL processing on an XML document.

 usage: java oracle.panama.util.Xslt 
 

Reads XML document from stdin and writes the result to stdout.

Since:
PANAMA_10

Constructor Summary
Xslt()
           
 
Method Summary
TypeMethod
static void main(java.lang.String[] args)
          The main function.
 org.w3c.dom.Node process(java.io.File xslFile, java.io.InputStream xmlDoc)
          Do the transformx
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Xslt

public Xslt()
Method Detail

process

public org.w3c.dom.Node process(java.io.File xslFile,
                                java.io.InputStream xmlDoc)
                         throws java.lang.Exception
Do the transformx
Returns:
the element

main

public static void main(java.lang.String[] args)
The main function.
Parameters:
args - only one argument expected, the XSL stylesheet filename.