Which Fortran Library to Produce XML?

Which Fortran library do you recommend for producing output in XML format?

I want my text output file to look more polished. I would like to have section headings in larger fonts, and colors. I would like to produce some of the output in tables with header rows and grid lines. And I want the ability to add a hyperlink based table of contents to the output.

Thank you for any advice you can give.


1 Like

Or should I be looking at producing output in HTML? I don’t understand the difference between HTML and XML.

Hi @Robert,
from your first message you need HTML, not XML.
HTML is a language for layout (HyperText Markup Language).
XML is for storing structured data.

Hi @Robert, it sounds like you can probably get away with just Markdown, which is simpler, is human readable in it’s plain text form and has lots of tools for converting to various other formats including HTML, Word and others. I’m not aware of any Fortran libraries for producing output formatted that way, but it’s something that wouldn’t be difficult to hard code, and I wouldn’t worry too much about doing that unless you already see a need for having your output format be selectable at runtime.


@vmagnin, @everythingfunctional, Thank you both for the information. It is very helpful.

1 Like