div/@name
and
div/@id
Attributes
div[@name = 'divname' and @id = 'divid'] content comes here...