Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(xml_tag), | intent(inout) | :: | self | XML tag. |
||
character(len=*), | intent(in) | :: | source | String containing data. |
Get the tag content and attributes from source after tag_name and attributes names have been set.
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