NAnt SDK Documentation - v0.92 |
|
XmlPokeTask.PreserveWhitespace Property
If true then the whitespace in the resulting document will be preserved; otherwise the whitespace will be removed. The default is false.
[Visual Basic]
<TaskAttribute(Required:=False, Name:="preserveWhitespace", ExpandProperties:=True, ProcessXml:=True), _
StringValidator(AllowEmpty:=False, Expression:="null", ExpressionErrorMessage:="null")>
Public Property PreserveWhitespace As
Boolean
[C#]
[TaskAttribute(Required=False, Name="preserveWhitespace", ExpandProperties=True, ProcessXml=True)]
[StringValidator(AllowEmpty=False, Expression="null", ExpressionErrorMessage="null")]
public
bool PreserveWhitespace {get; set;}
See Also
XmlPokeTask Class | NAnt.Core.Tasks Namespace