ownerDocument; $elem->appendChild($doc->createElementNS('DAV:','d:grant-only')); $elem->appendChild($doc->createElementNS('DAV:','d:no-invert')); } }