FeedReader.XML.Name (FeedReader v0.3.0)

Copy Markdown

Resolves SAX element and attribute names to namespace URI/local-name pairs.

Element names inherit the default namespace; unprefixed attributes do not. core_name?/4 recognizes the built-in Atom, RSS, and RDF core namespaces and their supported namespace-less forms.

Summary

Types

core_format()

@type core_format() :: :atom | :rss | :rdf

expanded_name()

@type expanded_name() :: {String.t() | nil, String.t()}

Functions

attribute(name, scope)

core_name?(name, scope, format, local_name)

element(name, scope)