Compartir a través de


ISAXDeclHandler::elementDecl Method (Windows CE 5.0)

Send Feedback

This method reports an element type declaration. The content model consists of the string "EMPTY", the string "ANY", or a group of values in parentheses that is optionally followed by an occurrence indicator (for example, <!ELEMENT DOCUMENT (TITLE,AUTHOR+,SUMMARY*,NOTE?)>). The model is normalized so that all parameter entities are fully resolved, all white space is removed, and enclosing parentheses are included.

HRESULT elementDecl(const wchar_t* pwchName,intcchName,const wchar_t* pwchModel,intcchModel);

Parameters

  • pwchName
    [in] Pointer to the element type name.
  • cchName
    [in] Length of the element type name.
  • pwchModel
    [in] Pointer to the content model as a normalized string.
  • cchModel
    [in] Content model as a normalized string length.

Return Values

  • S_OK
    Returned if no errors occur.
  • E_FAIL
    Returned if the parse operation should be aborted.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.
Link Library: Uuid.lib.

See Also

attributeDecl Method | ISAXDeclHandler:IUnknown Interface

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.