Interface WhitespaceStrippingElementMatcher

    • Method Detail

      • shouldStripWhiteSpace

        boolean shouldStripWhiteSpace​(XPathContext support,
                                      org.w3c.dom.Element targetElement)
                               throws javax.xml.transform.TransformerException
        Get information about whether or not an element should strip whitespace.
        Parameters:
        support - The XPath runtime state.
        targetElement - Element to check
        Returns:
        true if the whitespace should be stripped.
        Throws:
        javax.xml.transform.TransformerException
        See Also:
        strip in XSLT Specification
      • canStripWhiteSpace

        boolean canStripWhiteSpace()
        Get information about whether or not whitespace can be stripped.
        Returns:
        true if the whitespace can be stripped.
        See Also:
        strip in XSLT Specification