def process_style_style( element )
      style_name = element.attribute("#{@style_ns}:name").value.gsub(/\./, "_");
      parent_name = element.attribute("#{@style_ns}:parent-style-name");
      if (parent_name) then
        parent_name = parent_name.value.gsub(/\./,"_")
        if (@style_info[parent_name]) then
          @style_info[style_name] = DeclarationBlock.new(
            @style_info[parent_name] )
        end
      elsif (@style_info[style_name] == nil) then
        @style_info[style_name] = DeclarationBlock.new( )
      end

      element.elements.each do |child|
        process_style( style_name, child )
      end
    end
def process_style_style( element )
      style_name = element.attribute("#{@style_ns}:name").value.gsub(/\./, "_");
      parent_name = element.attribute("#{@style_ns}:parent-style-name");
      if (parent_name) then
        parent_name = parent_name.value.gsub(/\./,"_")
        if (@style_info[parent_name]) then
          @style_info[style_name] = DeclarationBlock.new(
            @style_info[parent_name] )
        end
      elsif (@style_info[style_name] == nil) then
        @style_info[style_name] = DeclarationBlock.new( )
      end

      element.elements.each do |child|
        process_style( style_name, child )
      end
    end
Handle a <style:style> element