std.xml empty element

Tom tom at nospam.com
Wed Feb 23 21:51:07 PST 2011


Oops, I mean, yields :S

El 24/02/2011 02:48, Tom escribió:
> 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;



More information about the Digitalmars-d-learn mailing list