optimizeNamespaces property

bool optimizeNamespaces
final

If optimizeNamespaces is true, the builder will perform some namespace optimization.

This means that

  • namespaces that are defined in an element but are never used in this element or its children will not be included in the document;
  • namespaces that are defined in an element but are already defined in one of the ancestors of the element will not be included again.

Implementation

final bool optimizeNamespaces;