

RemoveUnusedNamespaces (default: true): Remove any namespaces from tags, which are not used anywhere in the document, like. ĬollapseWhitespaceInDocType (default: true): Collapse and remove whitespace in the xml document type declaration ĬollapseWhitespaceInTexts (default: false): Collapse whitespace in elements containing text or a mixture of text and other elements (useful for (X)HTML) like Hello World.ĬollapseWhitespaceInProlog (default: true): Collapse and remove whitespace in the xml prolog. TrimWhitespaceFromTexts (default: false): Remove leading and tailing whitespace in elements containing text only or a mixture of text and other elements like Hello World.

ĬollapseEmptyElements (default: true): Collapse empty elements like. If set to true and xml:space="preserve" is specified, whitespace between tags like will not be removed.ĬollapseWhitespaceInTags (default: true): Collapse whitespace in tags like. Can be limited to tags only by passing the string "strict", otherwise by default other XML constructs as the prolog, processing instructions, the document type declaration, CDATA sections and comments will be also considered as tags.ĬonsiderPreserveWhitespace (default: true): Do consider the xml:space="preserve" attribute or tags in any namespace when removeWhitespaceBetweenTags. RemoveWhitespaceBetweenTags (default: true): Remove whitespace between tags like. RemoveComments (default: true): Remove comments like.
