nsCOMPtr<nsITextContent> textContent; nsresult rv = CloneContent(PR_TRUE, getter_AddRefs(textContent)); NS_ENSURE_SUCCESS(rv, rv);
nsCOMPtr<nsITextContent> textContent = CloneContent(PR_TRUE); NS_ENSURE_TRUE(textContent, NS_ERROR_OUT_OF_MEMORY);
nsXMLCDATASection::CloneNode(PRBool aDeep, nsIDOMNode** aReturn){  nsCOMPtr<nsITextContent> textContent;  nsresult rv = CloneContent(PR_TRUE, getter_AddRefs(textContent));  NS_ENSURE_SUCCESS(rv, rv);  return CallQueryInterface(textContent, aReturn);}