source: 1dwg/trunk/doc/cansas1d_binding_Fortran.xml @ 94

Last change on this file since 94 was 94, checked in by prjemian, 12 years ago

couple more documentation pages. Refs #19.

  • Property svn:keywords set to Date Revision Author HeadURL Id
File size: 2.9 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<?oxygen RNGSchema="http://www.oasis-open.org/docbook/xml/5.0/rng/docbook.rng" type="xml"?>
3<!--
4    ########### SVN repository information ###################
5    # $Date$
6    # $Author$
7    # $Revision$
8    # $HeadURL$
9    # $Id$
10    ########### SVN repository information ###################
11-->
12<!-- from: http://www.smallangles.net/wgwiki/index.php/cansas1d_binding_Fortran -->
13<section xml:id="cansas1d_documentation-binding-Fortran"
14    xmlns="http://docbook.org/ns/docbook" version="5.0"
15    xmlns:xlink="http://www.w3.org/1999/xlink">
16    <title>Fortran binding</title><para>
17        The development of the FORTRAN language, so beloved of scientists, pre-dates the development of XML. And it shows. FORTRAN is not a language that manipulates strings with ease, and this makes parsing XML decidedly awkward. So unless you <emphasis>really</emphasis> have to use FORTRAN, you are probably better off with C/C++ (or something else more 'modern'), see for example Daniel Veillard's LIBXML2 library at http://xmlsoft.org/ or Frank van den Berghen's parser at http://www.applied-mathematics.net/tools/xmlParser.html.
18    </para>
19    <para>
20        If you have to use a dialect earlier than FORTRAN-90 (F90), then the chances are you will have to code your own parser.
21       
22    </para>
23    <section><title>Software Development Kits</title>
24        <para>
25            For later dialects, there are some SDK's available on the Web:
26        </para>
27        <itemizedlist mark="opencircle"><listitem>
28            <para>
29                F90:
30            </para>
31            <itemizedlist mark="opencircle"><listitem>
32                <para>
33                    XMLPARSE - by Arjen Markus at http://xml-fortran.sourceforge.net/
34                </para>
35            </listitem>
36                <listitem>
37                    <para>
38                       
39                        FoX - by Toby White  others at http://uszla.me.uk/space/software/FoX/
40                    </para>
41                </listitem>
42            </itemizedlist>
43        </listitem>
44            <listitem>
45                <para>
46                    For F95:
47                </para>
48                <itemizedlist mark="opencircle"><listitem>
49                    <para>
50                        XML - by Mart Rentmeester at http://nn-online.org/code/xml/
51                    </para>
52                </listitem>
53                </itemizedlist>
54            </listitem>
55        </itemizedlist>
56    </section>
57    <section>
58        <title>canSAS 1-D SAS XML v1.0 support</title>
59        <para>
60            Steve King[mailto:s.m.king@rl.ac.uk] (ISIS) has provided a F77 routine (<link xlink:href="http://svn.smallangles.net/trac/canSAS/browser/1dwg/trunk/fortran/SASXML_G77.F"><citetitle>SASXML_G77.F</citetitle></link>) that will read CanSAS XML v1.0 files.
61        </para>
62    </section>
63   
64</section>
Note: See TracBrowser for help on using the repository browser.