I have an XML file located at a location such as
http://example.com/test.xml
I\'m trying to parse the XML file to use it in my program with
A little more detail, based on laz answer:
String urlString = "http://example.com/test.xml"; URL url = new URL(urlString); Document doc = builder.parse(url);