PRUint32 i, count = mArray->Count();
PRUint32 i, count; mArray->Count(&count);
nsXMLNamedNodeMap::GetNamedItem(const nsString& aName, nsIDOMNode** aReturn){  if (!aReturn)    return NS_ERROR_NULL_POINTER;  *aReturn = 0;  if (!mArray)    return NS_OK;  PRUint32 i, count = mArray->Count();  for (i = 0; i < count; i++) {    nsCOMPtr<nsIDOMNode> node(do_QueryInterface(mArray->ElementAt(i)));    if (!node)      break;    nsAutoString tmpName;    node->GetNodeName(tmpName);    if (aName.Equals(tmpName)) {      *aReturn = node;      break;    }  }  return NS_OK;}