Look up an attribute's XML 1.0 qualified name by index.

Parameters:

  • index: attribute index.

Returns:

The XML 1.0 qualified name, or the empty string if none is available, or null if the index is out of range.

SEE: length

Property definitions

sax $ Attributes :: qname
	# Look up an attribute's XML 1.0 qualified name by index.
	#
	# Parameters:
	#
	# * `index`: attribute index.
	#
	# Returns:
	#
	# The XML 1.0 qualified name, or the empty string
	# if none is available, or `null` if the index
	# is out of range.
	#
	# SEE: `length`
	fun qname(index: Int): nullable String is abstract
lib/sax/attributes.nit:83,2--96,51

sax $ AttributesImpl :: qname
	redef fun qname(index) do
		if index >= 0 and index < length then
			return data[index * 5 + 2]
		else
			return null
		end
	end
lib/sax/helpers/attributes_impl.nit:52,2--58,4