Mono Class Library: System.Xml.Xsl.XsltContext Overview | Members

System.Xml.Xsl.XsltContext.PreserveWhitespace Method

Determines if the parameter node's whitespace should be preserved or not.

public abstract bool PreserveWhitespace (System.Xml.XPath.XPathNavigator nav)

Parameters

nav
A System.Xml.XPath.XPathNavigator instance whose current node is determined to have whitespaces or not.

Returns

True if whitespaces should be preserved; otherwise False.

Remarks

The return value comes from the nearest ancestor's preserve-whitespace or strip-whitespace attribute value.

Requirements

Namespace: System.Xml.Xsl
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0