Added handling for attributes in the "content" element.