NS_NOTYETIMPLEMENTED("write me!"); return NS_ERROR_NOT_IMPLEMENTED;
NS_PRECONDITION(aChildNodes != nsnull, "null ptr"); if (! aChildNodes) return NS_ERROR_NULL_POINTER;  if (mRootContent) { nsresult rv;  *aChildNodes = nsnull;  nsRDFDOMNodeList* children; rv = nsRDFDOMNodeList::Create(&children);  if (NS_SUCCEEDED(rv)) { nsIDOMNode* domNode; rv = mRootContent->QueryInterface(nsIDOMNode::GetIID(), (void**) domNode); NS_ASSERTION(NS_SUCCEEDED(rv), "root content is not a DOM node");  if (NS_SUCCEEDED(rv)) { rv = children->AppendNode(domNode); NS_RELEASE(domNode);  *aChildNodes = children; return NS_OK; } }   NS_RELEASE(children); return rv; } else { *aChildNodes = nsnull; return NS_OK; }
XULDocumentImpl::GetChildNodes(nsIDOMNodeList** aChildNodes){    NS_NOTYETIMPLEMENTED("write me!");    return NS_ERROR_NOT_IMPLEMENTED;}