Finds an attribute by namespace name and returns the attribute's type, as declared in the document type definition (DTD) or schema. If a DTD or schema does not exist or the schema type does not map directly to a DTD attribute type, the return value is "CDATA".
Function getTypeFromName(ByVal strURI As String, ByVal strLocalName As _ String) As String
StrVal = oIVBSAXAttributes.getTypeFromName(strURI,strLocalName)
If the type is unknown, returns CDATA.
HRESULT getTypeFromName( [in] const wchar_t * pwchUri, [in] int cchUri, [in] const wchar_t * pwchLocalName, [in] int cchLocalName, [out] const wchar_t ** ppwchType, [out] int * pcchType);
The returned attribute type can be (but is not limited to) one of the following: CDATA, ID, IDREF, IDREFS, NMTOKEN, NMTOKENS, ENTITY, ENTITIES.
To view reference information for Visual Basic or C/C++ only, click the Language Filter button in the upper-left corner of the page.
getType Method | getTypeFromName Method
Applies to: ISAXAttributes/IVBSAXAttributes Interface