opendap/src/main/java/opendap/dap/DDS.java
public String getDDXText()
    {
        StringWriter sw = new StringWriter();
        this.printXML(new PrintWriter(sw));
        return sw.toString();
    }
public String getDDXText()
    {
        StringWriter sw = new StringWriter();
        this.printXML(new PrintWriter(sw));
        return sw.toString();
    }
This a wrapper method for <code>DDS.printXML()</code>.

@return The output of <code>DDS.printXML()</code> as
<code>String</code>
@opendap.ddx.experimental
@see #printXML(PrintWriter)