XsltContext.PreserveWhitespace Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Namespace:  System.Xml.Xsl
Assembly:  System.Xml.XPath (in System.Xml.XPath.dll)

Syntax

'Declaration
Public MustOverride Function PreserveWhitespace ( _
    node As XPathNavigator _
) As Boolean
public abstract bool PreserveWhitespace(
    XPathNavigator node
)

Parameters

Return Value

Type: System.Boolean
Returns true if the white space is to be preserved or false if the white space is to be stripped.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.