Changes between Version 6 and Version 7 of molesparser


Ignore:
Timestamp:
14/04/08 09:47:06 (12 years ago)
Author:
cbyrom
Comment:

Fix links

Legend:

Unmodified
Added
Removed
Modified
  • molesparser

    v6 v7  
    55This code can be used to create MOLES objects in python and generate a corresponding MOLES XML document, or it can be used to read in a MOLES XML document and create python objects. You can then manipulate these python objects and recreate the XML document. 
    66 
    7 This might be useful in many circumstances, one such circumstance is when your MOLES creation involves more than one step. E.g. BADC has a  http://proj.badc.rl.ac.uk/ndg/browser/TI02-CSML/trunk/csml2MolesStuff csml2moles tool] under development. This process will create a basic MOLES document, but then we will want to add further elements, or edit elements at a later stage. One way of doing this would be to use this moles parser to read in the unfinished MOLES document, then make the changes we need via python (using some sort of tool probably) and then regenerate the XML from the python objects. 
     7This might be useful in many circumstances, one such circumstance is when your MOLES creation involves more than one step. E.g. BADC has a  http://proj.badc.rl.ac.uk/ndg/browser/TI02-CSML/trunk/csml/csml2Moles csml2moles tool] under development. This process will create a basic MOLES document, but then we will want to add further elements, or edit elements at a later stage. One way of doing this would be to use this moles parser to read in the unfinished MOLES document, then make the changes we need via python (using some sort of tool probably) and then regenerate the XML from the python objects. 
    88 
    99One point worth noting is that this tool is described as 'lightweight' because it doesn't provide any sort of checking or restrictions on the MOLES you create - in that sense it is not as strict as the CSML parser. So you will still need to think about your MOLES!