Hi,

I  need to print an OMElement in file, I have found this code.

OMElement response=......
 //Print result in a file
FileWriter writer=new FileWriter(pResultFile,pAppend);
response.serialize(XMLOutputFactory.newInstance()
                 .createXMLStreamWriter(writer));


Can I clean result xml removing namespace and prefix with Axiom (I'd prefer don't use XSLT transformation).

for example I want <pre:tag></pre:tag> be printed <tag></tag>

thanks for yout help
Arnaud

Reply via email to