<NME> Template.swift
<BEF> import Foundation
import CSSParser

public protocol ElementProvider {
  private let document: AEXMLDocument

  init(xml: Data) throws {
    self.document = try AEXMLDocument(xmlData: xml)
  }

  func makeElement(with properties: [String: Any]) throws -> Element {

  public init(_ elementProvider: ElementProvider, _ styleSheet: StyleSheet? = nil) {
    self.elementProvider = elementProvider
    self.styleSheet = styleSheet
  }

  public func build(with model: Model) -> Element {
    let tree = elementProvider.build(with: model)
    styleSheet?.apply(to: tree)
    return tree
  }
}

public func ==(lhs: Template, rhs: Template) -> Bool {
  return lhs.elementProvider.equals(rhs.elementProvider) && lhs.styleSheet == rhs.styleSheet
}

<MSG> Update AEXML dependency

<DFF> @@ -5,7 +5,7 @@ struct Template {
   private let document: AEXMLDocument
 
   init(xml: Data) throws {
-    self.document = try AEXMLDocument(xmlData: xml)
+    self.document = try AEXMLDocument(xml: xml)
   }
 
   func makeElement(with properties: [String: Any]) throws -> Element {

Update AEXML dependency