2   "id" => changeset_comment.id,
 
   3   "date" => changeset_comment.created_at.xmlschema,
 
   4   "visible" => changeset_comment.visible
 
   6 if changeset_comment.author.data_public?
 
   7   cattrs["uid"] = changeset_comment.author.id
 
   8   cattrs["user"] = changeset_comment.author.display_name
 
  10 xml.comment(cattrs) do |comment_xml_node|
 
  11   comment_xml_node.text(changeset_comment.body)