set xmlElementWithContext method required in CBXMLNodeProtocol