Class XalanUtil


  • public class XalanUtil
    extends Object
    • Constructor Detail

      • XalanUtil

        public XalanUtil()
    • Method Detail

      • getContext

        public static org.apache.xpath.XPathContext getContext​(javax.servlet.jsp.tagext.Tag child,
                                                               javax.servlet.jsp.PageContext pageContext)
        Return the XPathContext to be used for evaluating expressions. If the child is nested withing a forEach tag its iteration context is used. Otherwise, a new context is created based on an empty Document.
        Parameters:
        child - the tag whose context should be returned
        pageContext - the current page context
        Returns:
        the XPath evaluation context