# Package groovy.xml

## Package groovy.xml Description

Groovy markup builder classes for working with SAX and W3C DOM and Groovy markup.

- Class Summary
  Class | Description
  --- | ---
  DOMBuilder | A helper class for creating a W3C DOM tree
  Entity | Represents a named or numeric XML entity reference that can be written unescaped by Groovy XML builders.
  FactorySupport | Support class for creating hardened JAXP factories.
  MarkupBuilder | A helper class for creating XML or HTML markup.
  MarkupBuilder.DefaultXmlEscapingFunction | Default character replacement function used for XML content and attribute escaping.
  MarkupBuilderHelper | A helper class for MarkupBuilder.
  Namespace | A simple helper class which acts as a factory of QName instances.
  NamespaceBuilder | A helper class for creating namespaces for GroovyMarkup
  NamespaceBuilderSupport | A helper class for creating namespaced GroovyMarkup
  SAXBuilder | A builder for generating W3C SAX events.
  SerializeOptions | Options for controlling XML serialization via XmlUtil.serialize.
  StaxBuilder | A Groovy builder that emits XML using a StAX writer.
  StreamingDOMBuilder | A streaming builder that creates W3C DOM content for GPath-style XML traversal or further DOM processing.
  StreamingMarkupBuilder | A builder class for creating XML markup.
  StreamingSAXBuilder | A streaming builder that turns Groovy builder calls into SAX events for XML generation.
  XmlNodePrinter | Prints a `groovy.util.Node` (as used with `XmlParser`) including all children in XML format.
  XmlNodePrinter.NamespaceContext | Tracks namespace declarations already emitted while printing a subtree.
  XmlParser | A helper class for parsing XML into a tree of Node instances for a simple way of processing XML.
  XmlParserFactory | Factory method targeting dynamic contexts which allows a new `XmlParser` to be created.
  XmlSlurper | Parse XML into a document tree that may be traversed similar to XPath expressions.
  XmlSlurperFactory | Factory method targeting dynamic contexts which allows a new `XmlSlurper` to be created.
  XmlUtil | Used for pretty printing XML content and other XML related utilities.

- Enum Summary
  Enum | Description
  --- | ---
  MarkupBuilder.CharFilter | Identifiers for built-in character filtering strategies.

- Exception Summary
  Exception | Description
  --- | ---
  XmlRuntimeException | Represents a runtime exception that occurred when parsing or building XML.