                 }
                 
                 // Fetch transition info from transition elements
-                let transitionElements = taskNodeElement[UsbongXMLIdentifier.transition].all
+                let transitionElements = taskNodeXMLIndexer[UsbongXMLIdentifier.transition].all
                 for transitionElement in transitionElements {
                     if let attributes = transitionElement.element?.attributes {
                         // Get values of attributes name and to, add to taskNode object

        return currentText
    }
    
    public func transitionToNextTaskNode() -> Bool {
        // Get next task node name
        if let nextTaskNodeName = transitionInfo[currentTargetTransitionName] {
            taskNodeNames.append(nextTaskNodeName)
            currentTaskNode = taskNodeWithName(nextTaskNodeName)
            return true
        }
        return false

        // task-node
        var taskNode: TaskNode? = nil
        // Find task-node element with attribute name value
        if let taskNodeXMLIndexer = taskNodeXMLIndexerWithName(name) {
            let nameComponents = UsbongXMLName(name: name, language: currentLanguage)
            if let taskNodeType = TaskNodeType(rawValue: nameComponents.type) {
                // Translate text if current language is not base language
