XML Processing

  • Thread starter timothy.soehnlin
  • Start date
T

timothy.soehnlin

Is there a way to process a String into an XML object in Java. I
looked for examples and everything seems to be accessing URIs or Files,
and I am processing a a chunk of text that came in over a Socket. And
writing that to a file would be way inefficient. Any help?
 
M

Mike Schilling

Is there a way to process a String into an XML object in Java. I
looked for examples and everything seems to be accessing URIs or Files,
and I am processing a a chunk of text that came in over a Socket. And
writing that to a file would be way inefficient. Any help?

Most Java XML parsers take org.xml.sax.InputSource objects as inputs, and
these can be constructed from either InputStreams or Readers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,678
Members
48,796
Latest member
Greg L.

Latest Threads

Top