Loads information for this item from the xml data.
        
        :param      graphic | <XWalkthroughItem>

def load(self, graphic):
        """
        Loads information for this item from the xml data.
        
        :param      graphic | <XWalkthroughItem>
        """
        for prop in graphic.properties():
            key = prop.name()
            value = prop.value()
            
            if key == 'caption':
                value = projex.wikitext.render(value.strip())
            
            self.setProperty(key, value)
            for attr, attr_value in prop.attributes().items():
                self.setProperty('{0}_{1}'.format(key, attr), attr_value)
        
        self.prepare()