Hi
I am using the folowing code
StringReader sr = new StringReader(documentStr);
StreamSource source = new StreamSource(sr);
DOMResult result = new DOMResult();
transformer.transform(source, result);
Document
doc = (Document)result.getNode();
to convert the xml to another form of xml using XSL and my incoming XML as got first line
<FpML xmlns="http://www.fpml.org/2004/FpML-4-1" xsi:schemaLocation="http://www.fpml.org/2004/FpML-4-1 fpml-cd-trade-4-1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="4-1" xsi:type="DataDocument">
xsi:schemaLocation="http://www.fpml.org/2004/FpML-4-1 fpml-cd-trade-4-1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="4-1" xsi:type="DataDocument" if i remove the above portion it works fine , what I have to put in the xsl or code to make it work ??
Its throwing me bove mentioned error if i keep the above portion
Could some one help me out.
Thanks
Pavithra