I want to take a string in XML format (or get an XML file on the web
directly and use that) and convert it to an array. Is there already
something which takes something like this:
ddd
onemore dd=55
tt333/tt
tt ss=s1555/tt
tt777/tt
/onemore
twosdf rr/two
/ddd
I have been trying to get the content of a web page which just has
only a string on it. I want to put the entire content of the page
into a variable so I can use it. I found some code in another thread
and tried to use it, but it isnt working for me.
public String getPrice(String symbol) {
();
InputStream in = entity.getContent();
Document document = getDocument(in);
in.close();
if (entity != null) {
entity.consumeContent();
}
Christine
On Oct 26, 10:05 am, JamesB [EMAIL PROTECTED] wrote:
I have been trying to get
/finally block in the example, for readability.
Christine
On Oct 26, 10:34 pm, JamesB [EMAIL PROTECTED] wrote:
The first one still gives me an IOException. It forces me to add
throws or a couple of try/catch's for error handling but either way it
gets IOException. This is the code
4 matches
Mail list logo