# Package groovy.xml

package groovy.xml

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

- Related Packages
  Package
  Description
  groovy.xml.dom
  Groovy XML Dom processing classes.
  groovy.xml.markupsupport
  XML character filtering and escaping for safe markup generation.
  groovy.xml.slurpersupport
  Helper classes for XmlSlurper.
  groovy.xml.streamingmarkupsupport
  XmlBuilder related classes to support streaming XML.
- Class
  Description
  DOMBuilder
  A helper class for creating a W3C DOM tree
  FactorySupport
  Support class for creating hardened JAXP factories.
  MarkupBuilder
  A helper class for creating XML or HTML markup.
  MarkupBuilder.CharFilter
  Identifiers for built-in character filtering strategies.
  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(org.w3c.dom.Element)`.
  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.
  XmlRuntimeException
  Represents a runtime exception that occurred when parsing or building XML.
  XmlSlurper
  Parse XML into a document tree that may be traversed similar to XPath expressions.
  XmlUtil
  Used for pretty printing XML content and other XML related utilities.