get Subroutine

private elemental subroutine get(self, source)

Type Bound

xml_tag

Arguments

Type IntentOptional Attributes Name
class(xml_tag), intent(inout) :: self
character(len=*), intent(in) :: source

Calls

proc~~get~~CallsGraph proc~get xml_tag%get proc~get_attributes xml_tag%get_attributes proc~get->proc~get_attributes proc~get_value xml_tag%get_value proc~get->proc~get_value

Called by

proc~~get~~CalledByGraph proc~get xml_tag%get proc~parse xml_tag%parse proc~parse->proc~get proc~parse_from_string xml_file%parse_from_string proc~parse_from_string->proc~parse proc~search xml_tag%search proc~search->proc~parse program~create_tag create_tag program~create_tag->proc~parse proc~get_content xml_tag%get_content proc~get_content->proc~search proc~parse~2 xml_file%parse proc~parse~2->proc~parse_from_string proc~content xml_file%content proc~content->proc~get_content program~delete_tag delete_tag program~delete_tag->proc~parse~2 program~parse_file_simple parse_file_simple program~parse_file_simple->proc~parse~2 program~parse_string_simple parse_string_simple program~parse_string_simple->proc~parse~2 program~write_tag write_tag program~write_tag->proc~parse~2

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