Поделиться через


ISAXDeclHandler::elementDecl Method (Windows Embedded CE 6.0)

1/6/2010

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.

Syntax

HRESULT elementDecl(
  const wchar_t* pwchName,
  int cchName,
  const wchar_t* pwchModel,
  int cchModel
);

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 Value

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

Requirements

Header msxml2.h, msxml2.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

ISAXDeclHandler
ISAXDeclHandler::attributeDecl Method