Changeset 1501


Ignore:
Timestamp:
07/09/06 15:10:42 (13 years ago)
Author:
domlowe
Message:

minor edit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/Examples/parsing/basictest.py

    r1497 r1501  
    3030#This creates a new CSML document string from the CSML objects in memory. 
    3131#Hopefully the CSML output should be the same as the CSML it read in. 
    32 csmlf = dataset.toXML() 
    33 #print str(csml) 
     32csmldoc = dataset.toXML() 
     33#print str(csmldoc) 
    3434     
    3535#Tidy up and print the CSML document: 
    3636#strCSML= parseString(tostring(csml)).toprettyxml() 
    37 strCSML=csml.parser_extra.PrettyPrint(csmlf) 
     37strCSML=csml.parser_extra.PrettyPrint(csmldoc) 
    3838strCSML=csml.parser_extra.removeInlineNS(strCSML) 
    3939print strCSML 
Note: See TracChangeset for help on using the changeset viewer.