Class Stripper

  • All Implemented Interfaces:
    javax.xml.transform.Result, Receiver

    public class Stripper
    extends ProxyReceiver
    The Stripper class performs whitespace stripping according to the rules of the xsl:strip-space and xsl:preserve-space instructions. It maintains details of which elements need to be stripped. The code is written to act as a SAX-like filter to do the stripping.

    If you found this code as a result of a Google search, sorry about the disappointment.