Re: FoX - an XML toolkit for Fortran



On 28 mrt, 19:30, Toby <t...@xxxxxxxxxxx> wrote:
I'd like to present FoX; a standards-compliant XML toolkit written
purely in Fortran 95.

With the public release of version 4.0, FoX now supports the whole of
XML 1.0 as a
fully validating parser, tested against the W3C XML testsuite.

FoX also understands all of XML Namespaces, xml:id and xml:base.

It provides both input and output APIs

* the output API is a streaming writer which guarantees the well-
formedness of all XML output.
* the input API provides both a SAX-like interface, offering all the
features of SAX version 2,
and a full W3C-compliant DOM (tested against the W3C DOM testsuite),
covering all of Core
Levels 1, 2, and most of 3.

FoX is completely written in Fortran, avoiding any issues with cross-
language compatibility,
and is extensively tested across multiple compilers.

Further details can be found at:http://www.uszla.me.uk/FoX/

The source is BSD-licensed, and is available fromhttp://www.uszla.me.uk/FoX/source/

--
Dr. Toby O. H. White
Dept. Earth Sciences,
Downing Street,
Cambridge CB2 3EQ
United Kingdom

Web:http://uszla.me.uk

Good, I have not looked at it yet, but it sounds very nice.

I would like to take this opportunity to inform you about my project
to read
XML files in Fortran - http://xml-fortran.sourceforge.net

I just released version 1.00. While I am not sure it will pass all W3C
tests, the
purpose of the library and auxiliary programs is to provide some
pragmatic tools
to deal with XML files. As such, the project offers four different
methods of
reading XML files:

* Reading the files in much the same way as an ordinary text file -
a stream-oriented method
* Directly reading the contents into a data structure that reflects
the structure of the XML file (via the xmlreader program)
* Constructing a tree of data from the XML file with essentially the
same structure
* Processing the contents using "events", in much the same way as
the original Expat library.

The auxiliary program xmlreader in version 1.00 creates both a reading
and a writing routine
based on an XSD-like description of the file. It does not read actual
XSD files, but the program
xsdconvert help converting such files.

(The project now also contains a reference to FoX)

Regards,

Arjen
.



Relevant Pages

  • [ANN] FoX - an XML toolkit for Fortran
    ... I'd like to present FoX; a standards-compliant XML toolkit written ... It provides both input and output APIs ... FoX is completely written in Fortran, ...
    (comp.lang.fortran)
  • Re: [PHP] Re: About XSLT/XML Pagination
    ... approach for the xsl files. ... imagining take some simple xml data, but imagine it has a DTD or XMLSchema ... database to create 1 or more xml files. ...
    (php.general)
  • Re: [PHP] Re: About XSLT/XML Pagination
    ... approach for the xsl files. ... imagining take some simple xml data, but imagine it has a DTD or XMLSchema ... > database to create 1 or more xml files. ...
    (php.general)
  • Re: Many concurrent users of site using XPathDocument and XslTransform objects efficiently?
    ... Output caching might be very helpful, depending on how often those XML docs ... > Likely the greatest cost is reading the XML files ... XPathDocument, but noticed this on the Microsoft site concerning the ...
    (microsoft.public.dotnet.framework.performance)
  • Re: XML Import options
    ... OpenXML may work as well, but if the documents are too big, you get into ... > XML was ... > and have looked at openXML, XMLBulkLoad/DTS and Updategrams. ... > data (i.e. in XML files on the filesystem) I would have to activate the ...
    (microsoft.public.sqlserver.xml)