Example #1
0
 def styles(self):
     if self._styles:
         return self._styles
     self._styles = Styles.load(self.root_element, container=self)
     return self._styles
Example #2
0
 def _load_styles_from_xml(self, xml):
     root = parse_xml_from_string(xml)
     return Styles.load(root)