Changeset 1992 for TI02-CSML/trunk/csml
- Timestamp:
- 11/01/07 16:41:05 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI02-CSML/trunk/csml/csml2Moles/molesReadWrite.py
r1915 r1992 37 37 if subelem.tag=='{http://www.w3.org/2001/XMLSchema}sequence': 38 38 __addSequence(molesclassname,subelem) 39 for subsubelem in subelem[:]: 40 if subsubelem.tag=='{http://www.w3.org/2001/XMLSchema}sequence': 41 __addSequence(molesclassname,subsubelem) 39 42 if elem.tag == '{http://www.w3.org/2001/XMLSchema}element': 40 43 '''Look for parents of complex types - sometimes a complexType is declared but does not have a name and … … 69 72 try: 70 73 order=self.sequences[classname] 74 print classname 75 print order 71 76 except KeyError: 77 print 'keyerror %s!'%classname 72 78 order = [] 73 79 for key in dict: … … 123 129 self.schema=None 124 130 orderedAttribs=schema.lookupOrder(self.__dict__,molesFrag.tag) 125 print self.__dict__126 131 for item in orderedAttribs: 127 132 if hasattr(self, item):
Note: See TracChangeset
for help on using the changeset viewer.