public class XSLTransform
extends java.lang.Object
Constructor and Description |
---|
XSLTransform()
Private constructor because all methids are static and do not need
an instance.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
the main routine used to test the transform utility.
|
static void |
transform(java.io.Reader doc,
java.lang.String xslSystemId,
java.io.PrintWriter pw,
java.util.Hashtable param)
Transform an XML document using an XSLT stylesheet to another format,
probably HTML or another XML document format.
|
static void |
transform(java.lang.String docString,
java.lang.String xslSystemId,
java.io.PrintWriter pw,
java.util.Hashtable param)
Transform an XML document using an XSLT stylesheet to another format,
probably HTML or another XML document format.
|
public XSLTransform()
public static void transform(java.lang.String docString, java.lang.String xslSystemId, java.io.PrintWriter pw, java.util.Hashtable param)
docString
- the document to be transformedxslSystemId
- the system location of the stylesheetpw
- the PrintWriter to which output is printedparams
- some parameters for inclusion to the transformationpublic static void transform(java.io.Reader doc, java.lang.String xslSystemId, java.io.PrintWriter pw, java.util.Hashtable param)
doc
- the document to be transformedxslSystemId
- the system location of the stylesheetpw
- the PrintWriter to which output is printedparams
- some parameters for inclusion to the transformationpublic static void main(java.lang.String[] args)
Copyright © 2020 Regents of the University of California. All Rights Reserved.