import com.ms.xml.ParseException;
import com.ms.xml.Document;
 
import java.net.*;
 
class showtext
{
    static String filename;
 
    public static void main(String args[])
    {
        filename = "file:////c://xml//showtext//showtext.xml";
 
        URL url = null;
        try {
            url = new URL(filename);
        }
        catch (MalformedURLException ex) {
            System.out.println("Cannot create URL for file: " + filename);
            System.exit(0);
        }
 
        Document d = new Document();
 
        try {
            d.load(url);
        }
        catch (ParseException e) {
            d.reportError(e, System.out);
        }
 
        if (d != null) {
            System.out.println(d.getText());
        }
    }
 
}