ISAXDeclHandler::attributeDecl Method (Windows CE 5.0)
This method reports an attribute type declaration. Only the first declaration for an attribute is reported. The attribute type can be either of the following two choices:
- One of the following strings: "CDATA", "ID", "IDREF", "IDREFS", "NMTOKEN", "NMTOKENS", "ENTITY", "ENTITIES", or "NOTATION".
- A parenthesized token group with the separator (|) and all white space removed.
HRESULT attributeDecl(const wchar_t* pwchElementName,intcchElementName,const wchar_t* pwchAttributeName,intcchAttributeName,const wchar_t* pwchType,intcchType,const wchar_t* pwchValueDefault,intcchValueDefault,const wchar_t* pwchValue,intcchValue);
Parameters
- pwchElementName
[in] Pointer to the name of the associated element. - cchElementName
[in] Length of the element's name string. - pwchAttributeName
[in] Pointer to the name of the attribute. - cchAttributeName
[in] Length of the attribute's name string. - pwchType
[in] Pointer to a string representing the attribute type. - cchType
[in] Length of the attribute-type string. - pwchValueDefault
[in] Pointer to a string representing the attribute default ("#IMPLIED", "#REQUIRED" or "#FIXED") or NULL (if none of these apply). - cchValueDefault
[in] Length of the attribute's default string. - pwchValue
[in] Pointer to a string representing the attribute's default value or NULL (if there is none). - cchValue
[in] Length of the attribute's default value.
Return Values
- S_OK
Returned if no errors are reported. - E_FAIL
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
ISAXDeclHandler:IUnknown Interface
Send Feedback on this topic to the authors