XsltContext::PreserveWhitespace Method (XPathNavigator^)

 

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 (in System.Xml.dll)

public:
virtual bool PreserveWhitespace(
	XPathNavigator^ node
) abstract

Parameters

node
Type: System.Xml.XPath::XPathNavigator^

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

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.

.NET Framework
Available since 1.1
Silverlight
Available since 4.0
Return to top
Show: