ISAXLexicalHandler::endDTD Method (Windows CE 5.0)
This method receives the end of a document type declaration. If the document has no such declaration, this method is not invoked.
HRESULT endDTD();
Parameters
None.
Return Values
- S_OK
Returned if no errors occur. - E_FAIL
Returned if the parse operation should be aborted.
Remarks
A document type declaration connects a document to its document type definition (DTD), which defines the rules of the document, such as what tags can go in your document, what tags can contain other tags, and the number and sequence of the tags. This declaration always begins with "<!DOCTYPE", followed by the name of the DTD, followed by a declaration of the DTD or a link to where the DTD can be found. Finally, it ends with a ">" to close the declaration as shown in the following code sample.
<!DOCTYPE NAME [
DTD content goes here.
]>
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.
Link Library: Uuid.lib.
See Also
startDTD Method | ISAXLexicalHandler:IUnknown Interface
Send Feedback on this topic to the authors