com.novell.xml.xpath
Interface WhitespaceStripper
- All Known Implementing Classes:
- ExpressionContext
- public interface WhitespaceStripper
An interface for determining if a text node should
be stripped
This isn't part of XPath per se, but is a reasonable
way to allow XSLT to implement whitespace stripping
without having to physically strip nodes an possible
create a new source tree.
- See Also:
ExpressionContext
Method Summary |
boolean |
stripNode(Node node)
Return if a text or cdata section node should be
stripped (not returned from an axis). |
stripNode
public boolean stripNode(Node node)
- Return if a text or cdata section node should be
stripped (not returned from an axis).
- Parameters:
node
- The text or cdata section node to test
- Returns:
- True if the node should be stripped, false otherwise