import java.io.File;
import java.io.IOException;
import org.jdom.Document;
import org.jdom.Element;
import org.jdom.JDOMException;
import org.jdom.input.SAXBuilder;

public class jdom_start
{

	public static void main(String[] args) throws IOException, JDOMException
	{
		SAXBuilder builder = new SAXBuilder();
		Document doc = builder.build(new File(args[0]));

		// Get the root element
		Element root = doc.getRootElement();
		Element e = root.getChild("middle");
		System.out.println(e.getValue());
	}

}
