This code shows you how to use the instance methods from the FileReader and BufferedReader classes with a Xalan 2 processor to read the first line from a text file.
...
Note: This tip was tested on Xalan, version 2.7.0.