sax :: NamespaceSupport :: prefixes
Note: if there is a default prefix, it will not be
returned in this enumeration; check for the default prefix
using the uri
with an argument of ""
or use declared_prefixes
.
Returns:
All prefixes declared in the current context except for the empty (default) prefix.
SEE: declared_prefixes
SEE: uri
# Return all prefixes currently declared.
#
# Note: if there is a default prefix, it will not be
# returned in this enumeration; check for the default prefix
# using the `uri` with an argument of `""` or use `declared_prefixes`.
#
# Returns:
#
# All prefixes declared in the current context except
# for the empty (default) prefix.
#
# SEE: `declared_prefixes`
#
# SEE: `uri`
fun prefixes: Collection[String] do return current_context.prefixes
lib/sax/helpers/namespace_support.nit:297,2--311,68