I need the response to be logged to a single output file.
I have implemented the logging using Log4j. I am able to write the SOAP Response to this log file.
But i need some guidance as to how i could extract the information out of the document tree and write it in more intuitive way. Is it possible to use XSLT to extract information out of the DOM tree and write it to the log file. I don't know XSLT yet, is this what i should be using or is there some other concept that i need to learn.
Joined: Jul 09, 2001
You are absolutely right in thinking about XSLT. XSLT can transform an XML document to another XML document, in which the data is formatted differently – exactly what you want.