get Subroutine

private elemental subroutine get(self, source)

Arguments

TypeIntentOptionalAttributesName
class(xml_tag), intent(inout) :: self
character, intent(in) :: source

Contents

Source Code

get

Source Code

  elemental subroutine get(self, source)
  !< Get the tag content and attributes from source after tag_name and attributes names have been set.
  class(xml_tag), intent(inout) :: self   !< XML tag.
  character(*),   intent(in)    :: source !< String containing data.

  call self%get_value(source=source)
  call self%get_attributes(source=source)
  ! call self%get_nested()
  endsubroutine get