Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft