Jules, I have a little unusual request: It would be great to be able to choose in which format XmlElement writes empty elements. Right now it writes them as:
which is the format I prefer, but I’d like the possibility to have it write the empty element as:
Maybe a :
class XmlElement
{
...
static bool uglyEmptyElementFormat;
...
};
This is because I use boost (1.33.1) serialization to serialize the object structure and I need to preprocess the XML with JUCE which produces the latter empty element format. But boost::serialization chokes on the former format with an exception. Can you believe that? :shock:
I’ve filed a bug report to boost, but I suspect that version 1.45 of juce will hit the streets FAR before 1.35.1 of boost does…
/R
Ps. No, boost 1.34.1 has the same problem… if anyone should ask that…