         }
 
         if let svgElement = svgElement {
-            svgElement.style = try processStyle(xmlElement, state: state, svgElement: svgElement)
-            svgElement.transform = try processTransform(xmlElement, state: state)
+            svgElement.style = try processStyle(xmlElement, svgElement: svgElement)
+            svgElement.transform = try processTransform(xmlElement)
 
             if let id = xmlElement["id"]?.stringValue {
                 svgElement.id = id

        }
    }

    public func processTransform(xmlElement: NSXMLElement, state: State) throws -> Transform2D? {
        guard let value = xmlElement["transform"]?.stringValue else {
            return nil
        }

    }
    
    public func processStyle(xmlElement: NSXMLElement,
                             svgElement: SVGElement) throws -> SwiftGraphics.Style? {
        var styleElements: [StyleElement] = []

