Package net.sf.xslthl
Class ConnectorXalan
- java.lang.Object
-
- net.sf.xslthl.ConnectorXalan
-
public class ConnectorXalan extends java.lang.ObjectXalanConnector for XsltHL. Usage: Add the namespacexmlns:xhl="xalan://net.sf.xslthl.XalanConnector"then you can use the function:xhl:highlight($language, exsl:node-set($content))orxhl:highlight($language, exsl:node-set($content), 'myConfigFile')- Author:
- Michiel Hendriks
-
-
Constructor Summary
Constructors Constructor Description ConnectorXalan()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.w3c.dom.NodeListhighlight(org.apache.xalan.extensions.ExpressionContext context, java.lang.String hlCode, org.w3c.dom.NodeList nodes)highlight the given nodes using the standard configurationstatic org.w3c.dom.NodeListhighlight(org.apache.xalan.extensions.ExpressionContext context, java.lang.String hlCode, org.w3c.dom.NodeList nodes, java.lang.String configFilename)highlight the given nodes
-
-
-
Method Detail
-
highlight
public static final org.w3c.dom.NodeList highlight(org.apache.xalan.extensions.ExpressionContext context, java.lang.String hlCode, org.w3c.dom.NodeList nodes)highlight the given nodes using the standard configuration- Parameters:
context-hlCode-nodes-- Returns:
-
highlight
public static final org.w3c.dom.NodeList highlight(org.apache.xalan.extensions.ExpressionContext context, java.lang.String hlCode, org.w3c.dom.NodeList nodes, java.lang.String configFilename)highlight the given nodes- Parameters:
context-hlCode-nodes-configFilename-- Returns:
-
-