Hi all,

I have another question on synapse.

What is the best way to get an String representation of an OMElement? I
used the OMElement.toString() method but the documentation says about this
method:

"This is a convenience method only. This will basically serialize the given
OMElement to a String but will build the OMTree in the memory"

Is there a better solution for converting an OMElement to a String? I was
thinking of first serializing into a ByteStream and then converting to
String. I am not sure which one would be more efficient.
Any suggestions?

Thank you.
Riyafa

-- 
Riyafa Abdul Hameed
Software Engineer, WSO2 Lanka (Pvt) Ltd <http://wso2.com/>

Email: riy...@wso2.com <riyafa...@cse.mrt.ac.lk>
Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
<http://facebook.com/riyafa.ahf>  <http://lk.linkedin.com/in/riyafa>
<http://twitter.com/Riyafa1>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to