void ParentNode::setReadOnly(bool readOnl, bool deep) { NodeImpl::setReadOnly(readOnl, deep); if (deep) // Recursively set kids for (ChildNode *mykid = firstChild; mykid != null; mykid = mykid->nextSibling) if(! (mykid->isEntityReference())) mykid->setReadOnly(readOnl,true); };
void ParentNode::setReadOnly(bool readOnl, bool deep) { NodeImpl::setReadOnly(readOnl, deep); if (deep) // Recursively set kids for (ChildNode *mykid = firstChild; mykid != null; mykid = mykid->nextSibling) if(! (mykid->isEntityReference())) mykid->setReadOnly(readOnl,true); } /* SPEC_CPU: removed extra ';' for C++98 standards compliance -- yag */
void AttrImpl::setReadOnly(bool readOnl, bool deep) { NodeImpl::setReadOnly(readOnl, deep); if (deep) { if (hasStringValue()) { return; } // Recursively set kids for (ChildNode *mykid = value.child; mykid != null; mykid = mykid->nextSibling) if(! (mykid->isEntityReference())) mykid->setReadOnly(readOnl,true); } }