|Constructor and Description|
Instead of using the default mechanism to determine the associated XSL file, it is given by the user.
|Modifier and Type||Method and Description|
Apply a XSL transformation to the markup generated by a component.
public XsltTransformer(String xslFile)
xslFile- XSL input file path relative to the component's package. If the path does not end with .xsl, then it is considered as a basename and will be passed as-is to
IResourceStreamLocator.locate(Class, String, String, String, java.util.Locale, String, boolean). All stylesheets must have the .xsl extension.
public CharSequence transform(Component component, CharSequence output) throws Exception
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.