Ignore:
Timestamp:
12/04/06 15:15:20 (14 years ago)
Author:
domlowe
Message:

added code to resolve hrefs and srsName refs to real objects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/newparser/test.py

    r781 r782  
    1616####################################################### 
    1717# 1. Test parsing from CSML file 
    18 tree = ElementTree(file='example.xml') 
     18#tree = ElementTree(file='example.xml') 
     19tree = ElementTree(file='era40gridseries.xml') 
    1920dataset = Dataset() 
    2021 
     
    2627 
    2728#resolve references: (not implemented yet) 
    28 #dataset=parser_extra.ParserPostProcessor(dataset).resolveReferences() 
     29dataset=parser_extra.ParserPostProcessor(dataset).resolveReferences() 
    2930 
    3031#This creates a new CSML document string from the CSML objects in memory. 
     
    3536strCSML= parseString(tostring(csml)).toprettyxml() 
    3637strCSML=parser_extra.removeInlineNS(strCSML) 
    37 #print strCSML 
     38print strCSML 
    3839 
Note: See TracChangeset for help on using the changeset viewer.