Hi Richard!

Take a look at org.apache.axis.encoding.SerializationContextImpl.  Sounds like exactly 
what you're talking about.

I'm not sure I get your question, though - are you asking how to turn an XML String 
into a DOM?  It's called parsing. :)

--Glen

> -----Original Message-----
> From: Pfeiffer, Richard [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 18, 2002 7:45 PM
> To: '[EMAIL PROTECTED]'
> Subject: SAX in Reverse?
> 
> 
> Just as Axis uses SAX instead of DOM to parse incoming messages, I was
> wondering whether it would be significantly faster to build 
> an outgoing XML
> message by appending tags and text to a StringBuffer, sort of 
> like SAX in
> reverse, rather than using the DOM API and doing appendChild, etc.
> 
> I would like to hear people's opinions on whether this is 
> worth doing, and
> if it is, I'd like help in the one thing I haven't figured 
> out yet. Since we
> need to return a DOM Element to the client, is there a way to 
> convert a
> String of XML elements into a valid DOM Element?
> 
> Any ideas or feedback on this would be greatly appreciated!
> 
> 
> Richard
> 

Reply via email to