Overload xml_tag with creator procedures.
Return an instance of xml tag.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | name |
Tag name. |
||
character(len=*), | intent(in), | optional | :: | attribute(1:) |
Attribute name/value pair [1:2]. |
|
character(len=*), | intent(in), | optional | :: | attributes(1:,1:) |
Attributes list of name/value pairs [1:2,1:]. |
|
character(len=*), | intent(in), | optional | :: | attributes_stream |
Attributes list as single stream. |
|
logical, | intent(in), | optional | :: | sanitize_attributes_value |
Sanitize attributes value. |
|
integer(kind=I4P), | intent(in), | optional | :: | pos(1:) |
Characters position (in source) indexes. |
|
character(len=*), | intent(in), | optional | :: | content |
Tag value. |
|
integer(kind=I4P), | intent(in), | optional | :: | indent |
Number of indent-white-spaces. |
|
logical, | intent(in), | optional | :: | is_content_indented |
Activate content indentation. |
|
logical, | intent(in), | optional | :: | is_self_closing |
The tag is self closing. |
|
integer(kind=I4P), | intent(in), | optional | :: | id |
Uniq ID. |
|
integer(kind=I4P), | intent(in), | optional | :: | level |
Tag hierarchy level. |
|
integer(kind=I4P), | intent(in), | optional | :: | parent_id |
Parent uniq ID. |
|
character(len=:), | intent(in), | optional, | allocatable | :: | attributes_stream_alloc |
Attributes list stream, allocatable input. |
character(len=:), | intent(in), | optional, | allocatable | :: | content_alloc |
Tag value, allocatable input. |
XML tag.
Return an instance of xml tag with value being a nested tag.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | name |
Tag name. |
||
type(xml_tag), | intent(in) | :: | content |
Tag value as nested tag.. |
||
character(len=*), | intent(in), | optional | :: | attribute(1:) |
Attribute name/value pair [1:2]. |
|
character(len=*), | intent(in), | optional | :: | attributes(1:,1:) |
Attributes list of name/value pairs [1:2,1:]. |
|
character(len=*), | intent(in), | optional | :: | attributes_stream |
Attributes list as single stream. |
|
logical, | intent(in), | optional | :: | sanitize_attributes_value |
Sanitize attributes value. |
|
integer(kind=I4P), | intent(in), | optional | :: | pos(1:) |
Characters position (in source) indexes. |
|
integer(kind=I4P), | intent(in), | optional | :: | indent |
Number of indent-white-spaces. |
|
logical, | intent(in), | optional | :: | is_content_indented |
Activate value indentation. |
|
integer(kind=I4P), | intent(in), | optional | :: | id |
Uniq ID. |
|
integer(kind=I4P), | intent(in), | optional | :: | level |
Tag hierarchy level. |
|
integer(kind=I4P), | intent(in), | optional | :: | parent_id |
Parent uniq ID. |
|
character(len=:), | intent(in), | optional, | allocatable | :: | attributes_stream_alloc |
Attributes list stream, allocatable input. |
character(len=:), | intent(in), | optional, | allocatable | :: | content_alloc |
Tag value, allocatable input. |
XML tag.