ATTR_METHOD_IMPL(CElementParser, OnName)
{
    TRACE_PARSE_ENTRY();

    CElement * pCurr = GetElement();
    if (pCurr != NULL)
    {
        return pCurr->SetName(wszValue, cchValue);
    }

    return E_FAIL;
}