Hi all, I'm looking for advices about Xerces Parser.
In my code I have a client sending xml string: the server write down this string in a file and then give it to Xerces parser to process it.
I would like to know if I might directly parse the string, without writing the file.
Here is my actual code:


dis.receive();
command = dis.readUTF();
byte [] nextBuf = command.getBytes();
String fileName = "message.xml";
FileOutputStream fos = new FileOutputStream(fileName );
fos.write(nextBuf);
SaxParser sp = new SaxParser(this);
sp.performDemo(fileName );

I would like something like this:

dis.receive();
command = dis.readUTF();
SaxParser sp = new SaxParser(this);
sp.performDemo(command );

Please help!!! :))

Tnx, Enrico.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to