I am working with a xml project.
I got to parse a xml which is in the form of a string using xsl.Look at the following,
transformer.transform(new SAXSource(new InputSource(new ByteArrayInputStream("<xml>test</xml>".getBytes()))), new StreamResult(out));
this is an example to tell you what I tried.The code compiled successfully but it is not able to transform or parse it using the xml.The message I got from the server is,
"No Source Parameter supplied"
Can any one tell me how to wrk with strings and parse them as I had shown u?