std.xml empty element

Jacob Carlborg doob at me.com
Thu Feb 24 04:51:44 PST 2011


On 2011-02-24 06:48, Tom wrote:
> Hi, how can I create an empty element with current D2 std.xml Element
> implementation?
>
> stdout.writeln(new Element("foo")); // Shields <foo></foo> instead of
> <foo />
>
> Thanks in advance,
> Tom;

http://d.puremagic.com/issues/show_bug.cgi?id=4394

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list