XmlElement::createDocument() and dtdToUse?

What’s the format of the string for specifying dtdToUse? I put a URL in there and JUCE didn’t add the necessary tags or whatever.

Anyone have an example? I’m trying to produce a compliant xml file.

It just copies that string to the output after the XML header - it doesn’t attempt to generate the DTD structure for you. So you’d pass a string like “”