slax v0.1.3 Slax.Event.StartElement View Source

Event sent when the opening tag of an element is encountered. There will be a corresponding Slax.Event.EndElement event, even when the element is empty.

Contains the following keys:

  • attributes - A map of attribute records. Namespace attributes (xmlns:*) will not be reported. There will be NO attribute values for defaulted attributes!
  • local_name
  • prefix
  • uri

Link to this section Summary

Types

t()

Structure representing the opening tag of an element. Contains the following keys:

  • attributes - A map of attribute records. Namespace attributes (xmlns:*) will not be reported. There will be NO attribute values for defaulted attributes!
  • local_name: A string
  • prefix: A string
  • uri: A string

Link to this section Types

Link to this type t() View Source
t() :: %Slax.Event.StartElement{
  attributes: map(),
  local_name: String.t(),
  prefix: String.t(),
  uri: String.t()
}

Structure representing the opening tag of an element. Contains the following keys:

  • attributes - A map of attribute records. Namespace attributes (xmlns:*) will not be reported. There will be NO attribute values for defaulted attributes!
  • local_name: A string
  • prefix: A string
  • uri: A string