CAttributePtr Add(LPCTSTR attributeName, LPCTSTR attributeValue,
                        LPCTSTR attributeNamespace)
CAttributePtr Add(LPCTSTR attributeName, LPCTSTR attributeValue)
CAttributePtrAdd(LPCTSTR attributeName)
CAttributePtr Add(CAttribute* attrib)
  Property Nameitem or this[] 
  Argument - attributeNameThe name of the new attribute to be created 
  Argument - attributeValueThe value of the attribute 
  Argument - attributeNamespaceThe namespace the attribute will be a part of (if this is not defined then the namespace is taken from the parent element) 
  Argument - attrib An existing attribute to copy into this elements collection.  
  ReturnsThe newly created attribute. 
  Description Adds an attribute to the collection  
  Remarks May throw an exception if the namespace is invalid or the attribute already exists in the collection