Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Source Code
pure subroutine get_content(self,name,content)!< Return tag content of self (or its nested tags) if named *name*.!<!< @note If there is no value, the *content* string is returned deallocated.class(xml_tag),intent(in)::self!< XML tag.character(*),intent(in)::name!< Searched tag name.character(len=:),allocatable,intent(out)::content!< Tag content.type(xml_tag)::tag!< Dummy XML tag.if(allocated(content))deallocate(content)if(self%tag_name%is_allocated())then if(self%tag_name==name)then if(self%tag_content%is_allocated())content=self%tag_content%chars()else if(self%tag_content%is_allocated())then call tag%search(tag_name=name,source=self%tag_content%chars())if(tag%tag_content%is_allocated())content=tag%tag_content%chars()endif endif endif endsubroutine get_content