Package net.sf.xslthl
Class ConnectorXalan
java.lang.Object
net.sf.xslthl.ConnectorXalan
XalanConnector for XsltHL. Usage: Add the namespace
xmlns:xhl="xalan://net.sf.xslthl.XalanConnector"
then you can
use the function:
xhl:highlight($language, exsl:node-set($content))
or xhl:highlight($language, exsl:node-set($content), 'myConfigFile')
- Author:
- Michiel Hendriks
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ConnectorXalan
public ConnectorXalan()
-
-
Method Details
-
highlight
public static final NodeList highlight(org.apache.xalan.extensions.ExpressionContext context, String hlCode, NodeList nodes) highlight the given nodes using the standard configuration- Parameters:
context
-hlCode
-nodes
-- Returns:
-
highlight
public static final NodeList highlight(org.apache.xalan.extensions.ExpressionContext context, String hlCode, NodeList nodes, String configFilename) highlight the given nodes- Parameters:
context
-hlCode
-nodes
-configFilename
-- Returns:
-