api / org.gradle.api / XmlProvider / asString

asString

abstract fun asString(): StringBuilder

Returns the XML document as a StringBuilder. Changes to the returned instance will be applied to the XML. The returned instance is only valid until one of the other methods on this interface are called.

Return
A StringBuilder representation of the XML.