| argument | role | type | optional | default |
|---|---|---|---|---|
| filename | xml filename | character(len=*) | no | |
| ind | controls indentation of output | logical | yes | .true. |
| xf | xml filename | type(xmlf_t) | no |
| argument | role | type | optional | default |
|---|---|---|---|---|
| xf | xml filehandle | type(xmlf_t) | no |
| argument | role | type | optional | default |
|---|---|---|---|---|
| value | value to convert to string | real*8, real*4, integer, logical | no | |
| format | format for reals | character(len=*) | yes | g22.12 |
| argument | role | type | optional | default |
|---|---|---|---|---|
| xf | xml filehandle | type(xmlf_t) | no | |
| name | name of tag to add | character(len=*) | no |
| argument | role | type | optional | default |
|---|---|---|---|---|
| xf | xml filehandle | type(xmlf_t) | no | |
| attname | attribute name | character(len=*) | no | |
| value | attribute value | character(len=*) (convert using str()) | no |
| argument | role | type | optional | default |
|---|---|---|---|---|
| xf | xml filehandle | type(xmlf_t) | no | |
| pcdata | string to add | character(len=*) (convert numbers using str()) | no |
| argument | role | type | optional | default |
|---|---|---|---|---|
| xf | xml filehandle | type(xmlf_t) | no | |
| a | array (:) | integer, real, double | no | |
| format | format | character(len=*) | yes | 6(i12) / 4(es20.12) |
| argument | role | type | optional | default |
|---|---|---|---|---|
| xf | xml filehandle | type(xmlf_t) | no | |
| name | name of element to close | character(len=*) | no |