แก้ไข

แชร์ผ่าน


XsltContext.PreserveWhitespace(XPathNavigator) Method

Definition

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

public:
 abstract bool PreserveWhitespace(System::Xml::XPath::XPathNavigator ^ node);
public abstract bool PreserveWhitespace (System.Xml.XPath.XPathNavigator node);
abstract member PreserveWhitespace : System.Xml.XPath.XPathNavigator -> bool
Public MustOverride Function PreserveWhitespace (node As XPathNavigator) As Boolean

Parameters

node
XPathNavigator

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

Returns

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

Applies to