std.xml empty element

Tom tom at nospam.com
Thu Feb 24 04:09:35 PST 2011


Hi, how can I create an empty element with current D2 std.xml Element 
implementation?

stdout.writeln(new Element("foo")); // Yields <foo></foo> instead of <foo />

Thanks in advance,
Tom;


More information about the Digitalmars-d mailing list