> I have to setPrettyPrint() for every element I want pretty printed. I > assumed setting a parent element to pretty print would affect all children > as well, but it doesn't. I figured I'll just attach the file since it's > pretty short. The part you're interested in is right at the top (re: > writeXML()).
I ran up against the setPrettyPrint issue recently. I too discovered that I must setPrettyPrint for every element I generate. I suspect that I could extend the XML element class and do setPrettyPrint(true) as the default; has anyone seen this done? Thanks, Chris -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
