36 |
36 |
37 def readXML(self): |
37 def readXML(self): |
38 """ |
38 """ |
39 Public method to read and parse the XML document. |
39 Public method to read and parse the XML document. |
40 """ |
40 """ |
41 fileCategoryTags = [s.capitalize() for s in self.project.getFileCategories()] |
41 fileCategoryTags = [ |
|
42 s.capitalize() for s in self.project.getFileCategories() |
|
43 ] + ["Interfaces", "Protocols"] |
|
44 # The XML project files always included these. |
42 |
45 |
43 while not self.atEnd(): |
46 while not self.atEnd(): |
44 self.readNext() |
47 self.readNext() |
45 if self.isStartElement(): |
48 if self.isStartElement(): |
46 if self.name() == "Project": |
49 if self.name() == "Project": |