processing method
Adds a XmlProcessing
node with the provided target
and text
.
For example, to generate a processing element with the xml and the attribute version="1.0" one would write:
builder.processing('xml', 'version="1.0"');
Implementation
void processing(String target, Object text) {
_stack.last.children.add(XmlProcessing(target, text.toString()));
}