DocumentBuilderFactory.IgnoringElementContentWhitespace Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether or not the factory is configured to produce parsers which ignore ignorable whitespace in element content. -or- Specifies that the parsers created by this factory must eliminate whitespace in element content (sometimes known loosely as 'ignorable whitespace') when parsing XML documents (see XML Rec 2.
public virtual bool IgnoringElementContentWhitespace { [Android.Runtime.Register("isIgnoringElementContentWhitespace", "()Z", "GetIsIgnoringElementContentWhitespaceHandler")] get; [Android.Runtime.Register("setIgnoringElementContentWhitespace", "(Z)V", "GetSetIgnoringElementContentWhitespace_ZHandler")] set; }
[<get: Android.Runtime.Register("isIgnoringElementContentWhitespace", "()Z", "GetIsIgnoringElementContentWhitespaceHandler")>]
[<set: Android.Runtime.Register("setIgnoringElementContentWhitespace", "(Z)V", "GetSetIgnoringElementContentWhitespace_ZHandler")>]
member this.IgnoringElementContentWhitespace : bool with get, set
Property Value
true if the factory is configured to produce parsers which ignore ignorable whitespace in element content; false otherwise.
- Attributes
Remarks
Property getter documentation:
Indicates whether or not the factory is configured to produce parsers which ignore ignorable whitespace in element content.
Property setter documentation:
Specifies that the parsers created by this factory must eliminate whitespace in element content (sometimes known loosely as 'ignorable whitespace') when parsing XML documents (see XML Rec 2.10). Note that only whitespace which is directly contained within element content that has an element only content model (see XML Rec 3.2.1) will be eliminated. Due to reliance on the content model this setting requires the parser to be in validating mode. By default the value of this is set to false
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.