kxml help.
Zz
zz at nospam.com
Thu May 9 12:32:42 PDT 2013
Hi,
I decided to try out kxml and I have the following error.
test.d(10): Error: found '.' when expecting ','
test.d(11): Error: found '.' when expecting ','
when the following is compiled.
module test;
import kxml.xml;
private import std.string;
private import std.stdio;
void main()
{
auto node = new XmlNode();
node.addChild(new XmlNode("mynode").setAttribute("x", 50).
addChild(new XmlNode("Waldo").addCData("Hello!")));
}
---------
it's taken out of an example in the code.
Zz
More information about the Digitalmars-d-learn
mailing list