 				if child.kind == XMLNode.Kind.element {
 					
 					let childElement = child as! XMLElement
-					let nameAttribute = childElement.attribute(forName: "name")
+					let nameAttribute = childElement.fcpxName
 					
 					if let nameAttribute = nameAttribute {
 						
 						if usingAbsoluteMatch == true {
 							
-							if nameAttribute.stringValue! == name {
+							if nameAttribute == name {
 								
 								matchingElements.append(childElement)
 								

	}
	
	
	
	
	

	
	
	/**
	A recursive function that goes through an element and all its children, finding clips that match the given name.
	
	- parameter forName: A String of the name to match clips with.
	- parameter inElement: The XMLElement to recursively search. This is usually self.

							
						} else { // Lookes for a match within the string
							
							if nameAttribute.contains(name) == true {
								
								matchingElements.append(childElement)
								
