IPWorks Auth 2020 Python Edition

Questions / Feedback?

on_start_element Event

Fired when a begin-element tag is encountered in the document.

Syntax

class SAMLStartElementEventParams(object):
  @property
  def namespace() -> str: ...
  @property
  def element() -> str: ...
  @property
  def q_name() -> str: ...
  @property
  def is_empty() -> bool: ...

# In class SAML:
@property
def on_start_element() -> Callable[[SAMLStartElementEventParams], None]: ...
@on_start_element.setter
def on_start_element(event_hook: Callable[[SAMLStartElementEventParams], None]) -> None: ...

Remarks

The on_start_element event is fired when a begin-element tag is found in the document.

The element name is provided through the Element parameter. The attribute names and values (if any) are provided through the x_attributes properties.

The IsEmpty parameter is true when the event corresponds with an empty element declaration.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Auth 2020 Python Edition - Version 20.0 [Build 8155]