DynamicDOM v0.43.2. Implementation based on XRules v0.43

DDomContext.PreserveWhitespace Method 

When overridden in a derived class, evaluates whether to preserve white space nodes or strip them for the given context.

[Visual Basic]
Overrides Public Function PreserveWhitespace( _ 
   ByVal node As XPathNavigator _ 
) As Boolean
public override bool PreserveWhitespace(
   XPathNavigator node
public: bool PreserveWhitespace(
   XPathNavigator* node
public override function PreserveWhitespace(
   XPathNavigator node
): bool;


The white space node that is to be preserved or stripped in the current context.

Return Value

Returns true if the white space is to be preserved or false if the white space is to be stripped.

See Also

DDomContext Class | XRules Namespace