// Find out who the speaker of this line is
findSpeaker.setContextNode(line);
// Output the name of the speaker and the content of the line
System.out.println(findSpeaker.evaluateSingle() + ": " + line.getStringValue());
}
// If no lines were found, say so
if (!found) {
System.err.println("No lines were found containing the word '" + word + "'");