I'm working with some XML data and I'm having trouble forcing the way my closing tags are generated.
I want the long hand form, such as:
var xmlData:XML =
But when I try to insert nodes within the codeSnippet node as child nodes(<snippet />, etc.), and then write to a file, it
makes the codeSnippet node look like <codeSnippet /> and the <snippet /> nodes are after, which will not work.
How can I make it NOT treat an empty node as <codeSnippet /> and explicitly keep it as in long hand form, such as:
I figured it out for myself.
So, does that mean I get the 10 points?