For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

XmlProvider

interface XmlProvider(source)

Provides various ways to access the content of an XML document.

Since

1.0

Functions

Link copied to clipboard
abstract fun asElement(): Element
Returns the XML document as a DOM org.w3c.dom.Element.
Link copied to clipboard
abstract fun asNode(): Node
Returns the XML document as a Groovy groovy.util.Node.
Link copied to clipboard
abstract fun asString(): StringBuilder
Returns the XML document as a StringBuilder.