std.xml empty element
Lars T. Kyllingstad
public at kyllingen.NOSPAMnet
Thu Feb 24 04:23:43 PST 2011
On Thu, 24 Feb 2011 09:09:35 -0300, Tom wrote:
> 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;
Hi,
I see you asked this question in D.learn first, and that is indeed the
right place for it. The fact that you haven't gotten an answer there yet
doesn't mean you won't get one, it just means that nobody's had the time,
opportunity or knowledge to answer yet. You just have to be patient. :)
(As for the question, I'm sorry, I don't know. I've never used std.xml.)
-Lars
More information about the Digitalmars-d
mailing list