XmlPokeTask.

PreserveWhitespace Property

Summary

If true then the whitespace in the resulting document will be preserved; otherwise the whitespace will be removed. The default is false.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Tasks
Containing Type
XmlPokeTask

Syntax

[TaskAttribute("preserveWhitespace", Required = false)]
[StringValidator(AllowEmpty = false)]
public bool PreserveWhitespace { get; set; }

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
StringValidatorAttribute Used to indicate whether a string property should allow an empty string value or not.

Value

Type Description
bool