addAttribute

addAttribute(name:  String;
             value: String): JadeXMLAttribute updating;

The addAttribute method of the JadeXMLElement class creates and adds an attribute node with the values specified in the name and value parameters and returns a reference to the created JadeXMLAttribute node instance.