xml output

Hi, How do I send raw xml to the client from my servlet.. I have the xml as Element, i get the servletoutputstream, set the content type as text/xml, but i see no APIs using which i can send this Element.. I would like the client to see the raw xml per se. Thank you, Shankar.