Look up an attribute's local name by index.

Parameters:

  • index: attribute index.

Returns:

The local name, or the empty string if Namespace processing is not being performed, or null if the index is out of range.

SEE: length

Property definitions

sax $ Attributes :: local_name
	# Look up an attribute's local name by index.
	#
	# Parameters:
	#
	# * `index`: attribute index.
	#
	# Returns:
	#
	# The local name, or the empty string if Namespace
	# processing is not being performed, or `null`
	# if the index is out of range.
	#
	# SEE: `length`
	fun local_name(index: Int): nullable String is abstract
lib/sax/attributes.nit:68,2--81,56

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