Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(xmlf_t), | intent(inout) | :: | xf | |||
character(len=*), | intent(in) | :: | name | |||
character(len=*), | intent(in) | :: | value |
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