Documentation for module xml_parser

...

source: xml_parser.F
Loading...

public Types:

xml_parse
...

public Subroutines/Functions:

SUBROUTINE
xml_close (info)
...
...
FUNCTION
LOGICAL
xml_ok (info)
Function that returns whether all was okay or not
SUBROUTINE
xml_open (info, fname, mustread)
...

public Types:

TYPE :: xml_parse

...


INTEGER
:: lun ...
INTEGER
:: level ...
INTEGER
:: lineno ...
LOGICAL
:: ignore_whitespace ...
LOGICAL
:: no_data_truncation ...
LOGICAL
:: too_many_attribs ...
LOGICAL
:: too_many_data ...
LOGICAL
:: eof ...
LOGICAL
:: error ...
:: line ...

SUBROUTINExml_close(info)

...

Arguments:
TYPE(xml_parse),
INTENT(inout)
:: info ...

SUBROUTINExml_get(info, tag, endtag, attribs, no_attribs, data, no_data)

...

Arguments:
TYPE(xml_parse),
INTENT(inout)
:: info ...
CHARACTER(*),
INTENT(out)
:: tag ...
LOGICAL,
INTENT(out)
:: endtag ...
CHARACTER(*),
INTENT(out)
:: attribs(:,:) ...
INTEGER,
INTENT(out)
:: no_attribs ...
CHARACTER(*),
INTENT(out)
:: data(:) ...
INTEGER,
INTENT(out)
:: no_data ...

FUNCTIONxml_ok(info)

Function that returns whether all was okay or not

Return Value ::
LOGICAL
.true. if there was no error, .false. otherwise
Arguments:
TYPE(xml_parse),
INTENT(in)
:: info Structure holding information on the XML-file

SUBROUTINExml_open(info, fname, mustread)

...

Arguments:
TYPE(xml_parse),
INTENT(out)
:: info ...
CHARACTER(*),
INTENT(in)
:: fname ...
LOGICAL,
INTENT(in)
:: mustread ...

private Parameters/Types:

Parameters:

INTEGER
:: xml_buffer_length = 1000