public class XSLTransform extends Object
| Constructor | Description |
|---|---|
XSLTransform() |
| Modifier and Type | Method | Description |
|---|---|---|
ByteArrayOutputStream |
processXSLTransform(StreamSource xslStreamSource,
File xmlPath) |
Process xsl transform byte array output stream.
|
ByteArrayOutputStream |
transform(ByteArrayOutputStream xml,
BufferedReader xsl) |
Transform byte array output stream.
|
ByteArrayOutputStream |
transform(File xmlPath,
BufferedReader xsl) |
Transform byte array output stream.
|
ByteArrayOutputStream |
transform(File xmlPath,
ByteArrayOutputStream xsl) |
Transform byte array output stream.
|
public ByteArrayOutputStream transform(File xmlPath, ByteArrayOutputStream xsl) throws net.sf.saxon.s9api.SaxonApiException
xmlPath - the xml pathxsl - the xslnet.sf.saxon.s9api.SaxonApiException - the saxon api exceptionpublic ByteArrayOutputStream transform(File xmlPath, BufferedReader xsl) throws net.sf.saxon.s9api.SaxonApiException
xmlPath - the xml pathxsl - the xslnet.sf.saxon.s9api.SaxonApiException - the saxon api exceptionpublic ByteArrayOutputStream transform(ByteArrayOutputStream xml, BufferedReader xsl) throws net.sf.saxon.s9api.SaxonApiException, TransformerConfigurationException
xml - the xmlxsl - the xslnet.sf.saxon.s9api.SaxonApiException - the saxon api exceptionTransformerConfigurationException - the transformer configuration exceptionpublic ByteArrayOutputStream processXSLTransform(StreamSource xslStreamSource, File xmlPath) throws net.sf.saxon.s9api.SaxonApiException
xslStreamSource - the xsl stream sourcexmlPath - the xml pathnet.sf.saxon.s9api.SaxonApiException - the saxon api exceptionCopyright © 2025. All rights reserved.