Compartilhar via


ISAXAttributes

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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 "https://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 "https://xml.org/sax/features/namespaces" feature is FALSE, access by namespace-qualified names may not be available.

Method Description

ISAXAttributes::getIndexFromName Method

This method finds an attribute by name and returns the (zero-based) index for the attribute.

ISAXAttributes::getIndexFromQName Method

This method finds an attribute by XML 1.0 qualified name and returns the (zero-based) index for the attribute.

ISAXAttributes::getLength Method

This method returns the count of attributes.

ISAXAttributes::getLocalName Method

This method finds an attribute's local name by index.

ISAXAttributes::getName Method

This method returns all information related to the name of an attribute at a given index.

ISAXAttributes::getQName Method

This method finds an attribute's qualified name by index and returns the (zero-based) index for the attribute.

ISAXAttributes::getType Method

This method finds an attribute by index and returns the attribute's type, as declared in the document type definition (DTD) or schema.

ISAXAttributes::getTypeFromName Method

This method finds an attribute by namespace name and returns the attribute's type, as declared in the DTD or schema.

ISAXAttributes::getTypeFromQName Method

This method finds an attribute by XML 1.0 qualified name and returns the attribute's type, as declared in the DTD or schema.

ISAXAttributes::getURI Method

This method finds an attribute's namespace URI by index.

ISAXAttributes::getValue Method

This method returns the text value of an attribute.

ISAXAttributes::getValueFromName Method

This method finds an attribute by namespace name and returns the attribute's text value.

ISAXAttributes::getValueFromQName Method

This method finds an attribute by XML 1.0 qualified name and returns the attribute's text value.

Requirements

Header msxml2.h, msxml2.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

XML SAX Interfaces