Add a new node as a child.
This overload is considered legacy; you should use the apprend ~= operator instead.
Parent node.
This node, to allow chaining.
auto document = elem!"xml" .addX!"text"("Hello") .addX!"text"("World!"); assert(document == "<xml><text>Hello</text><text>World!</text></xml>");
See Implementation
Add a new node as a child.
This overload is considered legacy; you should use the apprend ~= operator instead.