public final class XeStylesheet extends XeWrap
The class is immutable and thread-safe.
public XeStylesheet(CharSequence xsl)
The only argument here is a location of XSL stylesheet, in resources and, at the same time, in HTTP. For example, you can put "/xsl/main.xsl" there. In the XML output this will generate an "xml-stylesheet" annotation, which will point the browser to "http://yoursite/xsl/main.xsl". Obviously, this page must be available. On the other hand, if you're using RsXSLT, this file must be available in resources as "/xsl/main.xsl".
It is recommended to put XSL files under "src/main/resources/xsl".
xsl- XSL stylesheet
Copyright © 2015–2016 Take. All rights reserved.