Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The ISAXAttributes interface allows access to a list of attributes by the following means:
- Attribute index
- Name space-qualified name
- Qualified (prefixed) name
Attributes that are declared #IMPLIED, but not specified in the start tag, are not in the list. In addition, attributes used as namespace declarations (xmlns*) are not in the list unless the "http://xml.org/sax/features/namespace-prefixes"
feature is set to TRUE.
If the namespace-prefixes
feature is FALSE, access by qualified name (QName) may not be available.
If the "http://xml.org/sax/features/namespaces"
feature is FALSE, access by namespace-qualified names may not be available.
Method | Description |
---|---|
getIndexFromName | This method finds an attribute by name and returns the (zero-based) index for the attribute. |
getIndexFromQName | This method finds an attribute by XML 1.0 qualified name and returns the (zero-based) index for the attribute. |
getLength | This method returns the count of attributes. |
getLocalName | This method finds an attribute's local name by index. |
getName | This method returns all information related to the name of an attribute at a given index. |
getQName | This method finds an attribute's qualified name by index and returns the (zero-based) index for the attribute. |
getType | This method finds an attribute by index and returns the attribute's type, as declared in the document type definition (DTD) or schema. |
getTypeFromName | This method finds an attribute by namespace name and returns the attribute's type, as declared in the DTD or schema. |
getTypeFromQName | This method finds an attribute by XML 1.0 qualified name and returns the attribute's type, as declared in the DTD or schema. |
getURI | This method finds an attribute's namespace URI by index. |
getValue | This method returns the text value of an attribute. |
getValueFromName | This method finds an attribute by namespace name and returns the attribute's text value. |
getValueFromQName | This method finds an attribute by XML 1.0 qualified name and returns the attribute's text value. |
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.
Link Library: Uuid.lib.
Send Feedback on this topic to the authors