Contains a list of the IXMLDOMNotation members that are present in the document type declaration.
var objXMLDOMNamedNodeMap = oXMLDOMDocumentType.notations;
Set objXMLDOMNamedNodeMap = oXMLDOMDocumentType.notations
HRESULT get_notations(
IXMLDOMNamedNodeMap **notationMap);
IXMLDOMNotation that are present in the document type declaration.notationMap parameter is Null.BOOL DOMDocTypeprops()
{
BOOL bResult = FALSE;
IXMLDOMDocument *pIXMLDOMDocument = NULL;
IXMLDOMDocumentType *pIXMLDOMDocumentType = NULL;
IXMLDOMNamedNodeMap *pIXMLDOMNamedNodeMapNotations = NULL;
HRESULT hr;
try
{
// Create an instance of DOMDocument and initialize
// pIXMLDOMDocument.
// Load/create an XML fragment.
hr = pIXMLDOMDocument->get_doctype(&pIXMLDOMDocumentType);
SUCCEEDED(hr) ? 0 : throw hr;
if(pIXMLDOMDocumentType)
{
hr = pIXMLDOMDocumentType->get_notations
(&pIXMLDOMNamedNodeMapNotations);
if(pIXMLDOMNamedNodeMapNotations)
{
// DisplayMapEntries(pIXMLDOMNamedNodeMapNotations)
bResult = TRUE;
pIXMLDOMNamedNodeMapNotations->Release();
}
pIXMLDOMDocumentType->Release();
}
}
catch(...)
{
if(pIXMLDOMDocumentType)
pIXMLDOMDocumentType->Release();
if(pIXMLDOMNamedNodeMapNotations)
pIXMLDOMNamedNodeMapNotations->Release();
DisplayErrorToUser();
}
return bResult;
}
The property is read-only. Notations identify by name the format of unparsed entities, the format of elements that bear a notation attribute, or the application to which a processing instruction is addressed.
To view reference information for Visual Basic, C/C++, or Script only, click the Language Filter button
in the upper-left corner of the page.
Applies to: IXMLDOMDocumentType