net.sf.saxon.om
public class AllElementStripper extends Stripper
Constructor Summary | |
---|---|
AllElementStripper() |
Method Summary | |
---|---|
Stripper | getAnother() |
static AllElementStripper | getInstance() |
byte | isSpacePreserving(int nameCode)
Decide whether an element is in the set of white-space preserving element types |
byte | isSpacePreserving(NodeInfo element)
Decide whether an element is in the set of white-space preserving element types.
|
Parameters: nameCode identifies the element being tested
Returns: STRIP_DEFAULT: strip spaces unless xml:space tells you not to.
Parameters: element Identifies the element whose whitespace is possibly to be preserved