# Package groovy.xml.markupsupport

package groovy.xml.markupsupport
XML character filtering and escaping for safe markup generation.

Filters for escaping XML text, attributes, quotes, control characters, and surrogate pairs. Prevents injection and ensures well-formed output.

- Related Packages
  Package
  Description
  groovy.xml
  Groovy markup builder classes for working with SAX and W3C DOM and Groovy markup.
  groovy.xml.dom
  Groovy XML Dom processing classes.
  groovy.xml.slurpersupport
  Helper classes for XmlSlurper.
  groovy.xml.streamingmarkupsupport
  XmlBuilder related classes to support streaming XML.
- Classes
  Class
  Description
  AllControlToUndefined
  Replaces XML-disallowed control characters and Unicode noncharacters with `U+FFFD`.
  DoubleQuoteFilter
  Escapes double quotes for XML attribute output.
  SingleQuoteFilter
  Escapes single quotes for XML attribute output.
  StandardControlToUndefined
  Replaces XML-disallowed control characters with `U+FFFD`.
  StandardXmlAttributeFilter
  Escapes XML attribute characters that must be written as numeric entities.
  StandardXmlFilter
  Escapes the standard XML text markup characters.
  SurrogateToUndefined
  Replaces surrogate characters that cannot be emitted directly with `U+FFFD`.