toDataElement referring to childNodeTypes to support inheritance