Ignore:
Timestamp:
13/11/08 15:30:13 (11 years ago)
Author:
cbyrom
Message:

Upgrade the various 'list' xqueries - to nest all results in a single
root element - so that only one document need be retrieved to get all
results + adjust ndgDirectory to cope with processing the new results +
fix the various namespaces mentioned in the codebase to map to the
current atom/moles ones.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • exist/trunk/python/ndgUtils/models/Atom.py

    r4419 r4427  
    568568        root = ET.Element("entry") 
    569569        root.attrib["xmlns"] = "http://www.w3.org/2005/Atom" 
    570         root.attrib["xmlns:moles"] = "http://ndg.nerc.ac.uk/schema/moles2alpha" 
    571         root.attrib["xmlns:georss"] = "http://www.georss.org/georss" 
     570        root.attrib["xmlns:moles"] = "http://ndg.nerc.ac.uk/schema/moles2beta" 
     571        root.attrib["xmlns:georss"] = "http://www.georss.org/georss/10" 
    572572        root.attrib["xmlns:gml"] = "http://www.opengis.net/gml" 
    573573        id = ET.SubElement(root, "id") 
Note: See TracChangeset for help on using the changeset viewer.