my_add_attribute Subroutine

private subroutine my_add_attribute(xf, name, value)

Uses

    • xmlf90_wxml

Arguments

Type IntentOptional Attributes Name
type(xmlf_t), intent(inout) :: xf
character(len=*), intent(in) :: name
character(len=*), intent(in) :: value

Contents

Source Code


Source Code

subroutine my_add_attribute(xf,name,value)

  use xmlf90_wxml

  type(xmlf_t), intent(inout)   :: xf
  character(len=*), intent(in)  :: name
  character(len=*), intent(in)  :: value

  call xml_AddAttribute(xf,name,trim(value))
end subroutine my_add_attribute