Was able to figure out alternate solution using XSLT 1.0. But still looking for any better solutions.
Code:
<!--====To generate a separate xml, create variable containing XML== -->
<xsl:variable name="noticeXML">
<xsl:element name="Order">
<!-- Create the required attributes and elements -->
</xsl:element>
</xsl:variable>
<!--========Pass the variable to Java method===-->
<xsl:value-of select="util:toXML($noticeXML)"/>
//Java method to convert received 'Node' to stand alone XML and send to Client
public static synchronized void toXML(Node xml) throws TransformerException
{
StringWriter writer = new StringWriter();
Transformer transformer = TransformerFactory.newInstance().newTransformer();
//Do not set declaration as its indicating the XML is not stand alone
transformer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes");
transformer.transform(new DOMSource(xml), new StreamResult(writer));
String receivedxml = writer.toString();
//Send the message to the required client.
}